In Chapter 25, we showed you how to perform authentication and authorization using data that we defined statically in code. This allowed us to focus on the ASP.NET features, but this isn’t useful in real applications because it means deploying a new version each time any of the user accounts change. In this chapter, we show you how to use the membership feature, which allows you to store user and role data in a SQL database, and it provides a set of classes to help manage that data. We show you how to install and configure membership and build all of the common functionality that most web applications require.

Preparing ...

Get Pro ASP.NET 4.5 in C#, Fifth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.