Seed Your Entity Framework Core Data at Startup with ASP.NET Core 2

added by DotNetKicks
1/2/2019 2:07:43 PM

1 Kicks, 135 Views

If you're developing large scale database designs using Entity Framework, especially with Code First Migrations, you've likely wanted to seed some data. Perhaps it's some constant lookup values or test data used in your local dev environments for on-boarding new team members. It's also nice to run migrations on startup for when you are deploying...