Info
Version: | 1.0.2 |
Author(s): | TesserisPro LLC |
Last Update: | Tuesday, August 26, 2014 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/TesserisPro/ASP.NET-SImple-Security-Provider |
NuGet Url: | https://www.nuget.org/packages/ASP.NET.Simple.Security.Provider |
Install
Install-Package ASP.NET.Simple.Security.Provider
dotnet add package ASP.NET.Simple.Security.Provider
paket add ASP.NET.Simple.Security.Provider
ASP.NET.Simple.Security.Provider Download (Unzip the "nupkg" after downloading)
Dependencies
- Dapper(1.30)
Tags
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>.