Skip to content

MarkWalls/AspNet.Identity.Dapper

 
 

Repository files navigation

AspNet.Identity.Dapper

AspNet Identity 2.0 Storage Provider using Dapper. A drop in replacement for EF. Dapper is a simple object mapper for .Net. You can read about it and download it here. https://github.com/StackExchange/dapper-dot-net

  1. Create Member database using scripts in the database project. Note, the db has been modified from the standard AspNet database tables. The architects of AspNet Identity designed it with this in mind. My modifications are mostly cosmetic and consist of table name changes and the primary key on the Member table is an int rather than the default string. Otherwise all remaining columns in all tables are identical to AspNet default tables. Note, when changing db table names or columns remember to modify the queries in the table classes.
  2. Open the solution in VS 2013. Update web.config to point to the location of your database
  3. Run the solution.
  4. Note, the solution includes a working MVC5 website that has already been wired up to use Dapper rather than EF. EF has been completely removed from the sample site.

About

AspNet Identity 2.0 Storage Provider using Dapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 83.9%
  • JavaScript 12.4%
  • HTML 3.3%
  • Other 0.4%