Unable to Create an Object of Type DbContext in EF Core: Causes and Fixes
You add an entity, run dotnet ef migrations add AddOrders, and the tooling stops dead:
Unable to create an object of type 'AppDbContext'. For the different patterns
supported at design time, see https
codingdroplets.com12 min read