This repro contains Microsoft's ASP.NET MVC sample site adapted for my Octopus Deploy demos and talks. The original sources came from https://code.msdn.microsoft.com/ASPNET-MVC-Application-b01a9fe8.
I have adapted Microsoft's solution by splitting the MVC project into three:
- There is a project containing just the MVC site.
- A data project contains the Entitiy Framework
DbContext, entities and migrations.
- A core project contains code shared by the site and data access projects.
master branch is the starting point for my demos and talks.
Deploying SQL databases using Entity Framework migrations and Octopus Deploy
For a full write up, please see my blog post here: http://www.kevinkuszyk.com/2016/10/26/deploying-sql-databases-using-entity-framework-migrations-and-octopus-deploy.