Deploy Entity Framework Core Migrations from a DLL

Posted · Add Comment

[Updated 3/29/2017 — Added a bash version of this script for deploying EF Core Migrations from Linux.] Entity Framework Migrations let you deploy incremental updates to a target database.  With Entity Framework Core (EF Core) this is done from the command line by going to the directory that contains your Entity Framework entity and migration code, […]

TFS Build / Release Configuration Utilities: Edit app.config, web.config, appsettings.json, and XML

Posted · Add Comment

When you’re working automated builds and automated releases, you frequently need to edit configuration files like app.config, web.config, and appsettings.json. Well, I wrote a command line utility to do this and I figured I’d share.  I’ve got a version that is an .exe that can be used on a Windows build agent and I’ve got a version that’s written […]

Walkthrough: Entity Framework Core 1.1 with Migrations

Posted · 5 Comments

Here’s a walk-through on how to create a new solution that uses an ASP.NET Core project, an MSTest unit test project, and Entity Framework Core 1.1 (EFCore1.1).  I’m not sure if you’ve found this to be the case but I’ve been struggling with the documentation for a few days trying to figure out how to […]