I am new in ASP.NET MVC4. I am creating a Empty MVC4 Project Template and trying to add ASP.NET Membership Provider into it but i am not understanding how can I do it. I am
You need to add the following Nuget Packages:
EntityFramework
Microsoft.AspNet.WebPages.OAuth
Note: This package will install all the required dependencies automatically for you. This is a detailed list of all nuget packages installed:
Microsoft.AspNet.WebPages.WebData
DotNetOpenAuth.AspNet
DotNetOpenAuth.OpenId.RelyingParty
DotNetOpenAuth.OpenId.Core
DotNetOpenAuth.Core
DotNetOpenAuth.OAuth.Consumer
DotNetOpenAuth.OAuth.Core
DotNetOpenAuth.Core
Add a reference to
Now in order to test it, add the following to the web.config file (Under system.web):
Add the following connection string
And what I did was to copy the controllers, models, filters and views from the Internet template and just modify things like the namespace and so on until you get it up and running
This is the result (without styles)
Before login

Registering

Logged IN
