ASP.NET provides three primary forms of caching: page level output caching, user control level output caching (or fragment caching), and the Cache API. Output caching and fragment caching have the advantage of being incredibly simple to implement, and are sufficient in many cases. The cache API provides additional flexibility (quite a lot, in fact), and can be used to take advantage of caching throughout every application.
Every community site will have different requirements to fulfill. Although the existing CSK framework offers a great deal of flexibility, having the entire source code available means you can add additional functionality to a site in an elegant manner. In this chapter, we will concentrate on creating a new module for the CSK. We will see how creating a new module allows you to add entirely new features which integrate seamlessly with the rest of the framework. In this chapter, we will implement a Frequently Asked Questions (FAQ) module.
ASP.NET provides extensive tracing and debugging capabilities, an area that has been neglected for web developers in the past. With its new compilation model, debugging a page becomes as natural as debugging any other application.
If you developed an ASP.NET page and receive an error page form your locale ISS, you should check your setup. Cause, ISS tries to validate web clients for authorized. Normally a web client 's session sets Anounymous account. So you should check NTFS permissions and set correct permissions for .NET setup directory.
This video illustrates how simple it is to create data-driven web sites using Visual Web Developer 2005 Express Edition, ASP.NET 2.0, and SQL Server 2005 Express Edition. See the integrated data editing support provided by Visual Web Developer that simplifies database creation and population using the Database Explorer and DataSet Designer. Explore how easy it is to create a master-details view with support for filtering, sorting, paging, and editing with no code using the DropDownList, GridView, DetailsView, and ObjectDataSource controls.
This video introduces a number of the new ASP.NET 2.0 controls for building forms to collect information from the user, validate that information, then send a confirmation e-mail message. Features covered include the Wizard control, Validation controls, and the System.Net.Mail classes for sending e-mail messages.
Learn how to secure a Web site using the new Membership and Roles features of ASP.NET 2.0. Topics include user registration, password recovery, and restricting access to content with roles. Get a tour of how the Web Site Administration Tool simplifies user account administration and makes it easy to control content access permissions.
This Tips & Tricks video covers many useful techniques for enhancing ASP.NET 2.0 web sites using Visual Web Developer 2005 Express Edition. Topics include encrypting sensitive information stored in web.config, maintaining the browser scroll position across postbacks, posting content to a different page, setting focus on a specific control when a page is loaded, creating a bulleted list of hyperlinks from an XML file, working with the file upload control, simplifying complex URLs using URL remapping, and using the MultiView control to switch between groups of content programmatically.
In this paper, we will look at the structure of a very simple ASP.NET page and how that page is rendered in the visitor's browser. Then we will look at the Page class, which is the .NET class that all your ASP.NET pages are based on. After that, we will review basic compiler directives that you can place on your page. At the end of the chapter, we will review a simple Quiz ASP.NET page that demonstrates the basics of an ASP.NET page.