Chapter 13. State

 

This chapter covers
  • ViewState and new features in ASP.NET 4.0
  • Session state
  • Profile API
  • Building a custom provider for the Profile API

 

Web applications are stateless by nature, which means that you don’t have a native way to handle state. If you’re familiar with desktop applications, you know that state plays a central role in a typical application. For example, you can save your users’ preferences and let them find their preferences again next time they use the application. Even though no native way exists to handle state as per the HTTP protocol, modern application frameworks (like ASP.NET) provide a lot of features in this area. Depending on your needs, you can manage state at different levels—on the client or on ...

Get ASP.NET 4.0 in Practice now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.