O'Reilly logo

Pro ASP.NET 4.5 in C#, Fifth Edition by Mario Szpuszta, Matthew MacDonald, 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 26

image

Membership

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

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