C H A P T E R  6

Working with Forms and State

Two key features in a web application are user input and state. We need user input to create useful applications. The user selects some function or enters some data, and our application responds accordingly. In a traditional deployed application, this interaction model is intrinsic to the software. In a web application, we rely on HTML forms.

We rely on state in order to store data on behalf of the user and access it in response to web requests. Web application state can be complex, because the underlying technology is broadly stateless. Fortunately, ASP.NET provides a range of different state mechanisms, and you just need to pick the one that best suits your application’s needs. In this chapter, ...

Get Applied ASP.NET 4 in Context 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.