Download source code - 928 KB
Table of Contents
Goal Introduction Components Used Create Project DbInitializer Class Conclusion History
Just like MVC 5, I was trying to enable automatic migrations and Seeding default data, but it seems the behaviour has been changed in MVC 6, so I thought I'll share the tip.
Here, we'll try to learn Seeding data in MVC 6 ASP.NET Core 2.2 application. Here, mainly Seeding data only is part of our scope.
Using Visual Studio 2019, I created a .NET Core 2.2 web...