Provides a registration point for the simple membership pre-application start code.
Assembly: WebMatrix.WebData (in WebMatrix.WebData.dll)
Thetype exposes the following members.
To use the SimpleMembershipProvider and WebSecurity classes for an ASP.NET Web Pages website, set enableSimpleMembership to true in the appSetting section of the Web.config file. (Alternatively, leave enableSimpleMembership out of the Web.config file, because enableSimpleMembership defaults to true.) When simple membership is enabled, SimpleMembershipProvider replaces SqlMembershipProvider, but is not invoked until it is initialized by a call to the InitializeDatabaseConnection() method.
Before InitializeDatabaseConnection() is called, SimpleMembershipProvider delegates all calls to SqlMembershipProvider. After the WebSecurity::InitializeDatabaseConnection() method is called, the SimpleMembershipProvider class is activated and provides membership services.