O'Reilly logo

Pro ASP.NET MVC 5 Platform by Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required