michielpost.nl

NuGet Quickstart Package with integrated Membership and Role provider

08-02-2012

A common scenario when starting a new website is setting up a database, ORM mapper, some kind of dependency injection, a user/login system etc. This can be a lot of work.

I created a NuGet package which does all this for you, but only comes in one flavor :)

Using this NuGet package you get:
- Unity as IoC container (for dependency injection)
- Entity Framework as ORM (code first variant)
- SQL CE database (can be changed to SQL Express / 2008 / 2005 by modifying the connectionstring in the web.config file)
- Web security using the default ASP.Net Membership and Role model
- All of the above working nicely together

https://www.nuget.org/packages/quickstart.mvc3.unity.ef.holyprinwebsecurity

How to use this package?

Create a new EMPTY MVC 3 Web Project with Razor views.
Delete the following files:
\Views\Shared\_Layout.cshtml
\Content\Site.css

Install quickstart.mvc3.unity.ef.holyprinwebsecurity using NuGet

Delete:
Bootstrapper.cs
Unity.Mvc3.README

Hit F5 and run the application!

Default login is: Admin / admin123
This can be found in the WebSecurityDbInitializer.cs


This package builds upon:

Web Security using Holyprin:
https://github.com/holyprin/Holyprin.Web.Security

Unity.Mvc3
https://www.nuget.org/packages/Unity.Mvc3

UnityConfiguration
https://www.nuget.org/packages/UnityConfiguration

Comments


Sorrel Vesper 20-05-2012
I seem to stumble upon this error. Please help! Error 1 'Microsoft.Practices.Unity.UnityContainer' does not contain a definition for 'RegisterControllers' and no extension method 'RegisterControllers' accepting a first argument of type 'Microsoft.Practices.Unity.UnityContainer' could be found (are you missing a using directive or an assembly reference?)


syracus 03-08-2012
Same for me...no solution found so far


Eugene 12-08-2012
http://unitymvc3.codeplex.com/discussions/358761/ Solution


???????? ?? ? ????, ????? ???????? ??????, ? ? ????, ????? ???? ????? ????? ?????. https://helloworld.com?h=7ab0ad93a5e3d49bbbf0672824729f2b& 19-11-2020
???????? ?? ? ????, ????? ???????? ??????, ? ? ????, ????? ???? ????? ????? ?????. https://helloworld.com?h=7ab0ad93a5e3d49bbbf0672824729f2b&


???????? ?? ? ????, ????? ???????? ??????, ? ? ????, ????? ???? ????? ????? ?????. http://bit.do/fLc9r?h=7ab0ad93a5e3d49bbbf0672824729f2b& 19-11-2020
???????? ?? ? ????, ????? ???????? ??????, ? ? ????, ????? ???? ????? ????? ?????. http://bit.do/fLc9r?h=7ab0ad93a5e3d49bbbf0672824729f2b&


???????? ?? ? ????, ????? ???????? ??????, ? ? ????, ????? ???? ????? ????? ?????. https://helloworld.com?h=7ab0ad93a5e3d49bbbf0672824729f2b& 19-11-2020
???????? ?? ? ????, ????? ???????? ??????, ? ? ????, ????? ???? ????? ????? ?????. https://helloworld.com?h=7ab0ad93a5e3d49bbbf0672824729f2b&


???????? ?? ? ????, ????? ???????? ??????, ? ? ????, ????? ???? ????? ????? ?????. http://bit.do/fLc9r?h=7ab0ad93a5e3d49bbbf0672824729f2b& 20-11-2020
???????? ?? ? ????, ????? ???????? ??????, ? ? ????, ????? ???? ????? ????? ?????. http://bit.do/fLc9r?h=7ab0ad93a5e3d49bbbf0672824729f2b&


???????? ?? ? ????, ????? ???????? ??????, ? ? ????, ????? ???? ????? ????? ?????. http://bit.do/fLc9r?h=7ab0ad93a5e3d49bbbf0672824729f2b& 20-11-2020
???????? ?? ? ????, ????? ???????? ??????, ? ? ????, ????? ???? ????? ????? ?????. http://bit.do/fLc9r?h=7ab0ad93a5e3d49bbbf0672824729f2b&


???????? ?? ? ????, ????? ???????? ??????, ? ? ????, ????? ???? ????? ????? ?????. http://bit.do/fLc9r?h=7ab0ad93a5e3d49bbbf0672824729f2b& 21-11-2020
???????? ?? ? ????, ????? ???????? ??????, ? ? ????, ????? ???? ????? ????? ?????. http://bit.do/fLc9r?h=7ab0ad93a5e3d49bbbf0672824729f2b&


Buy legal anabolic steroids https://myfsk.org/community/account/buy-legal-anabolic-steroids/?h=7ab0ad93a5e3d49bbbf0672824729f2b& 13-12-2020
Buy legal anabolic steroids https://myfsk.org/community/account/buy-legal-anabolic-steroids/?h=7ab0ad93a5e3d49bbbf0672824729f2b&


<p><a href="https://f3gxp.page.link/Tbeh"><img src="https://i.ibb.co/rH6Ky7F/best-hookup-sites-fs.jpg"></a></p>?h=7ab0ad93a5e3d49bbbf0672824729f2b& 20-12-2020
<p><a href="https://f3gxp.page.link/Tbeh"><img src="https://i.ibb.co/rH6Ky7F/best-hookup-sites-fs.jpg"></a></p>?h=7ab0ad93a5e3d49bbbf0672824729f2b&


<p><a href="https://f3gxp.page.link/Tbeh"><img src="https://i.ibb.co/rH6Ky7F/best-hookup-sites-fs.jpg"></a></p>?h=7ab0ad93a5e3d49bbbf0672824729f2b& 21-12-2020
<p><a href="https://f3gxp.page.link/Tbeh"><img src="https://i.ibb.co/rH6Ky7F/best-hookup-sites-fs.jpg"></a></p>?h=7ab0ad93a5e3d49bbbf0672824729f2b&


EkzXJ 10-01-2021
Drug information for patients. Generic Name. <a href="https://prednisone4u.top">can i get generic prednisone without insurance</a> in USA. Everything trends of drugs. Get here. <a href=http://www.indokontainer.com/2016/09/24/cafe-container-elegan-muarah-hanya-50jt/#comment-29579>Best news about pills.</a> <a href=https://www.dobrogea.tv/index.php?display=stire&categorie=Actualitate&id=16007&title=raed-arafat-in-romania-nu-vom-aplica-discriminari-pentru-cei-care-nu-sau-vaccinat-anticovid#comentarii>Actual information about drugs.</a> <a href=http://pharm.buu.ac.th/dis/main_topic.php?id=19>All what you want to know about meds.</a> 1d144e8


New Comment

Name
E-mail (not published)
Comment
Enter the code shown: