This project is abandoned
. MVC4 is on the way.
Also, S#arp Architecture
or S#arp Lite are probably better starting points for your project.Project Description
A copy of Rob Conery's MVC 2 starter kit but with MVC3, Unity, NuGet, EFCodeFirst, and MVC scaffolding.
Rob Conery's great original project is at: http://mvcstarter.codeplex.com
. I also recommend watching his screencast at that page.
- IoC setup and ready to go (
- Logging in place (Nlog)
- MVC scaffolding CodeTemplate overrides for safety by default - see Documentation
- Data access with EF and EFCodeFirst - if you would like Linq to SQL, Mongo etc, then it should be easy to download and add them from Rob's project
- CSS theme from http://www.freecsstemplates.org - should be easy to drop in any of their designs
- Reporting interface prepared for you and ready to go
- BDD test engine setup - SpecFlow with WatiN. Thanks to Steve Sanderson's blog
- Everything installed from Nuget packages. However, in order to keep the Source Code download small, the nuget packages are NOT included in the Source. See below.
- Click Source Code and then look for the Download link on the right (under "Latest Version")
- Now you need to (automatically) download the nuget packages for the solution
- Unzip the source code.
- Open a command prompt in the solution folder
- In the command prompt, type: Tools\nuget.exe i .\Web\packages.config -o packages
- and then: Tools\nuget.exe i .\Spec\packages.config -o packages
You should see:
C:\Users\matt\Desktop\mvc3starter_bef6c04346a5>Tools\nuget.exe i .\Web\packages.config -o packages
Successfully installed 'EntityFramework 4.1.10331.0'.
Successfully installed 'Modernizr 1.7'.
Successfully installed 'CommonServiceLocator 1.0'.
Successfully installed 'NLog 188.8.131.52'.
Successfully installed 'T4Scaffolding 1.0.1'.
Successfully installed 'MvcScaffolding 1.0.0'.
Successfully installed 'jQuery.UI.Combined 1.8.13'.
Successfully installed 'jQuery.vsdoc 1.6'.
Successfully installed 'jQuery 1.6.1'.
Successfully installed 'Ninject 184.108.40.206'.
Open the solution, press F5, and you should see:To run the BDD tests (optional)
- Open the solution in Visual Studio, compile it.
- Open NUnit, choose File -> Open Project, and choose Spec\bin\Debug\Spec.dll
- Click NUnit big Run button, and you should see: