Generic Database Based Role Provider NuGet Package

For the default, .NET have the SqlRoleProvide which only works on Sql Server with the predesigned database schema.

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.




Got any Generic Database Based Role Provider Question?





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)



Tags



STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

3529