Sep 122012
 

The ASP.NET Universal Provide cover Membership, Roles, Profile, and Session solutions in MVC4 which can leverage SQL Compact, SQL Express, SQL Azure, and SQL Server.  The biggest deviation from old ASP.NET 2.0 Membership is the need to run aspnet_regsql.exe to install the database side before you are able to use them.  ASP.NET Universal Providers now provide the magic to setup the persistence store with simply providing the database connection string.

 

If you would like to install the Universal Providers, because you did not select Internet based project in the MVC4 project selection screen.  You can run the Package Manager to install but doing the following:

Package Manager Console in menu

And entering “Install-Package System.Web.Providers” at the PM> prompt.

 Posted by at 7:15 pm

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by Sweet Captcha
Verify your real existence,
Drag the chopsticks to sushi
  • captcha
  • captcha
  • captcha
  • captcha