CHAPTER 26

image

Membership and OpenAuth

In Chapter 25, we demonstrated authentication and authorization using data that we defined statically in code. This simplification allowed us to focus on the ASP.NET features, but it 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 provides a set of classes to help manage that data. We show you how to install and configure membership and build all the common functionality that most web applications require.

Preparing ...

Get Pro ASP.NET 4.5 in VB, Fifth Edition 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.