CHAPTER 10

image

State Data

In this chapter, I describe the two services that the ASP.NET platform provides for creating stateful data: application state and session state. These features are easy to use, but they require forethought and caution to avoid serious performance penalties. I explain how each feature works and how to sidestep the pitfalls. Table 10-1 summarizes this chapter.

Table 10-1. Chapter Summary

Problem

Solution

Listing

Store data so that it is available to every component in the application.

Use the application state data feature.

14

Perform multiple read or write operations on application state data.

Use the Lock and UnLock ...

Get Pro ASP.NET MVC 5 Platform 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.