Anybody got experience or ideas for deploying EF code first migrations to a DB used by load balanced web servers?

Hi C# crew!

I'm currently pushing for my new workplace to start using a proper ORM, namely EF code first. There's some concerns about how we'd go about deploying schema changes to our DBs when they're shared by 4 load balanced web servers, which we act upon in pairs.

Whenever you have a code/DB discrepancy with code first, it'll kick up errors (which is kind of fair). These can be turned off, and as can automatic migrations, but it seems kind of hacky.

Does anybody have experience with implementing a good process for this?

by electricdandan via /r/csharp

Leave a Reply