Just by following a couple of setup steps, it can be pretty easy to use a separate data project for your DbContext and EF Core migrations in a .NET Aspire solution
A brief overview of how to set up Entity Framework Core in your .NET Aspire applications.