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 O’Reilly online learning.

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