Tom Dykstra and I have updated Tom’s popular EF/MVC series to the latest release, that is MVC 4 and EF 5. The biggest change was the addition of code first migrations. What’s great about the updated 10 part series is you can download the end of each chapter. Suppose you want to get a jump start on Concurrency (Covered in Chapter 7), you can now download the completed chapter 6 and start working on the concurrency tutorial.
Follow the instructions on the Building the Chapter Downloads page. After running package restore, the init.ps1 scripts are not run, so you need to exit Visual Studio and start it again. (You can actually close and reopen the solution, but I find it easier to exit and restart VS). Then in the package manager console (PMC), type “up” then hit the tab key:
Since you want Update-Database, hit the tab key again.
In addition to bug fixes and new features in MVC and EF, we’ve streamlined the tutorial so you can get through it faster and with less friction. We’ll be monitoring feedback closely, so let us know what works and what needs to be improved.
Significant changes:
- code first migrations
- Now uses LocalDB, which simplifies development and deployment.
- Windows Azure Deployment added.
Follow me ( @RickAndMSFT ) on twitter where I have a no spam guarantee of quality tweets.