GenericDbRoleProvider 1.0.2
dotnet add package GenericDbRoleProvider --version 1.0.2
NuGet\Install-Package GenericDbRoleProvider -Version 1.0.2
<PackageReference Include="GenericDbRoleProvider" Version="1.0.2" />
paket add GenericDbRoleProvider --version 1.0.2
#r "nuget: GenericDbRoleProvider, 1.0.2"
// Install GenericDbRoleProvider as a Cake Addin #addin nuget:?package=GenericDbRoleProvider&version=1.0.2 // Install GenericDbRoleProvider as a Cake Tool #tool nuget:?package=GenericDbRoleProvider&version=1.0.2
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
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
GitHub repositories
This package is not used by any popular GitHub repositories.
update to avoid exception when user can not be found