Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET membership provider with EF

I have been using ASP.NET membership provider the way it comes and it s been just fine serving my basic purposes. One thing I realize is that, it installs bunch of Stored Procs etc to the database.

Is there a EF implementation of ASP.NET membership ? or will there be?

I have an up coming project which i will need to extend the functionality of the Membership providers with roles and authorization via some GUI.

Moreover, everytime I use this, I have two connection string in my web.config one for DbContext one for Application services particularly for Membership provider. Why cant i have just one?

like image 855
DarthVader Avatar asked Aug 31 '12 22:08

DarthVader


1 Answers

The universal providers are what you are looking for: http://nuget.org/packages/Microsoft.AspNet.Providers.Core

These are implemented using EF Code First 5 internally, we will be making the internal DBContexts public once we make sure everything works smoothly.

like image 70
Hao Kung Avatar answered Oct 05 '22 23:10

Hao Kung