Category: <span>Entity Framework</span>

How to setup an Azure Devops Classic Pipeline to auto apply migrations with Entra Id authentication

Applying migrations in an Azure Devops pipelines seems pretty straightforward. Simply add to two Command Line tasks when using Classic Pipelines: When running this against an app that uses Azure SQL with Entra Id, you’ll get unauthorized errors which makes. Now comes the hard part, there is no out of …

How to properly start using EF Migrations in an existing database

Migrations are a great way to keep for databases up-to-date with your code changes. When you decide to start using migrations when you app is running for a while and you have an existing database structure. There is an easy way to trick Entity Framework to start applying migrations from …