This article by Atul Gupta, Sudhanshu Hate and Andrew Siemer, authors of ASP.NET 4 Social Networking, covers details on how to build a generic media management system that will allow you to host video, photos, resumes, or any number of physical files with minimal tweaking. It also addresses the issue of multi-file uploads via RIA technologies like Flash and Silverlight.
In addition to that, we will build the concept of having user-specific sets of files as well as content that can be shared among many users. This article will create a basic framework from which you can easily grow to suit the file management needs of just about any community site.Read Creating Media Galleries with ASP.NET 4 Social Networking in full
This article by Atul Gupta, Sudhanshu Hate and Andrew Siemer, authors of ASP.NET 4 Social Networking, helps you create a messaging system that will resemble a webbased email application similar to Hotmail or Gmail. We will also learn how to implement the Xinha WYSIWYG editor in a way that can be re-used easily across the site for complex inputs.
Once a user can create and send messages, we will then create a way for other users to receive and read those messages queued up in their inbox. Once we have this messaging subsystem in place we can hook up our other features in a way that they too can send messages—such as when a user accepts a friend request we can show the acceptance of that request in the friend's Inbox. This article will not only allow our users to send messages to each other but also provide our system with a way to communicate with our user base efficiently. This is not only a good feature to have in your community site but also a basic requirement for it.Read ASP.NET 4 Social Networking: Implementing a Complete Messaging System in full
This article, in the tips and tricks format, takes a good look at the components in an App-V infrastructure and the role each of them plays and how the interconnection existing in those components builds the existing models available to deploy App-V in our organization.
The reader will benefit from the previous article on FAQ on Virtualization and Microsoft App-V.Read Tips and Tricks on Microsoft Application Virtualization 4.6 in full
Validation is the key to any application that accepts input of any kind, but where should it be implemented—on the client where it is most responsive, in the business logic where it is most central, or in the data layer where it is most secure? ASP.NET MVC provides a simple yet powerful framework for defining validation from a central location that is decoupled from the data layer; validation that makes use of client scripting without being dependent on it; and with all this, keeping the validation DRY.
In this article by Andrew Siemer and Richard Kimber, authors of ASP.NET MVC 2 Cookbook, we will cover:
- Basic input validation
- Data annotations
- Client-side validation with jQuery
- Custom validators
- Remote validation with jQuery
Master pages are a very important part of any large-scale site. They allow you to easily manage the boilerplate code that every page in your site uses. This might encompass features such as navigational items, header and footer layout, basic layout, and so on. In this article by Andrew Siemer and Richard Kimber, authors of ASP.NET MVC 2 Cookbook, we will discuss how to create and use master pages to control application-wide formatting. We will also take a look at how to employ a base page, to control which master page is used. Then we will see how to pass data from the view to the master page. Specifically we will cover:
- How to create a master page
- Determining the master page in the ActionResult
- Controlling which master page is used with a view base class
- Setting the master page from a controller base class
- Passing data to the master page
A slow website with angry managers looking over your shoulder and raging calls from advertisers and clients is every web developer's nightmare.
The following article will take a look at some tips and tricks to improve the performance of your ASP.NET-based website, such as:
- Caching is one of the methods used to improve website performance
- Hotlinking should be avoided
- Reducing space taken by ASP.NET Ids
With the completion of LINQ to NHibernate for NHibernate 3.0, we can easily implement the specification pattern. In this article by Jason Dentler, author of NHibernate 3.0 Cookbook, we will see how to set up and use the specification pattern with the NHibernate repository.Read NHibernate 3.0: Using LINQ Specifications in the data access layer in full
For queries where the criteria are not known in advance, such as a website's advanced product search, ICriteria queries are more appropriate than named HQL queries. This article by Jason Dentler, author of NHibernate 3.0 Cookbook, shows how to use the same DAL infrastructure with ICriteria and QueryOver queries.
In an effort to avoid overwhelming the user, and increase application responsiveness, large result sets are commonly broken into smaller pages of results. This article also shows how we can easily add paging to a QueryOver query object in our DAL.Read NHibernate 3.0: Using ICriteria and Paged Queries in the Data Access Layer in full