Zylvian
.NET 9 - EF Core + Aspire - Database seeding
This part of the documentation recommends a seperate MigrationService, yet gives no good examples of how to seed your actual entites. It also doesn't correlate with the EF documentation on using best practices for seeding your data.
https://learn.microsoft.com/en-us/dotnet/aspire/database/ef-core-migrations#remove-existing-seeding-code
5 replies