Info
Version: | 1.0.2 |
Author(s): | cb |
Last Update: | Thursday, August 21, 2014 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/cbfrank/GenericDbRoleProvider |
NuGet Url: | https://www.nuget.org/packages/GenericDbRoleProvider |
Install
Install-Package GenericDbRoleProvider
dotnet add package GenericDbRoleProvider
paket add GenericDbRoleProvider
GenericDbRoleProvider Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
This is not a flexible way. .net MVC4, a new class "SimpleRoleProvider" which can work on most database and enable user to define their database chema.
Unfortunately, this class can't be used with windows authentication, becasue it is included in the WebMatrix.WebData.dll, and in that assembly, some function hard code to use form authentication. So I develop this class to work in similar way that enable you custom you own database schem and work with both windows authentication and form authentication.