- Day 3: Using Web Forms
- Performing Basic State Management in Web Applications
- Using Cookies
- Using Hidden Fields and Query Strings
- Working with the Session Object
- Working with the Application Object
- Setting Up Global Objects with the global.asax File
- Configuring the Application
Today's lesson didn't give you enough information for you to decide when to use session state, ViewState, and application state. Day 12 will contain instructions for making an intelligent choice in your own state management approach.
You learned about the global.asax file and how to use it to specify which objects are stored in Session and Application state.
Today's lesson explained the order of events in a typical ASP.NET Web form as it's rendered to the client computer. You saw an example that read and modified the values of some simple Web controls on a Web form.
Last, today's lesson introduced the web.config file and explained how it's used to configure your ASP.NET Web site. You saw a simple example of a web.config file that set the timeout value for Session objects.
Tomorrow you will learn about Web controls in detail and how to use them in your Web forms to produce powerful Web applications.