ASP.NET.Simple.Security.Provider
1.0.2
dotnet add package ASP.NET.Simple.Security.Provider --version 1.0.2
NuGet\Install-Package ASP.NET.Simple.Security.Provider -Version 1.0.2
<PackageReference Include="ASP.NET.Simple.Security.Provider" Version="1.0.2" />
paket add ASP.NET.Simple.Security.Provider --version 1.0.2
#r "nuget: ASP.NET.Simple.Security.Provider, 1.0.2"
// Install ASP.NET.Simple.Security.Provider as a Cake Addin #addin nuget:?package=ASP.NET.Simple.Security.Provider&version=1.0.2 // Install ASP.NET.Simple.Security.Provider as a Cake Tool #tool nuget:?package=ASP.NET.Simple.Security.Provider&version=1.0.2
Are you tired of overcomplicated membership or security providers that requires a spaceship to be configured to verify login/password? So am I. Please get these few classes register one HttpModule in web.config call SecurityContext.Initialize and be happy! DB will be created automatically.
To make it work do foolowing:
1. Call SecurityContext.Initialize(new SimpleSecurityProvider("name_of_connection_string")) in Global.asax
2. Register HTTP module in web.config
<system.webServer>
<modules>
<add name="SimpleSecurity" type="Tesseris.Web.SimpleSecurity.SimpleSecurityModule, Tesseris.Web.SimpleSecurity" />
</modules>
</system.webServer>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
-
- Dapper (>= 1.30.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
1. Fixed bug with expiration