Migrate Asp.Net Core
3 results found
-
Unable to create an object of type 'DbContext' in EF Core
I get an error Unable to create an object of type 'EcommerDbContext'. For the different patterns supported at design time in EF .Net 6 when I was trying to add migrate.
-
Asp.Net EF Core error : More than one DbContext was found.
More than one DbContext was found. Specify which one to use. Use the '-Context' parameter for PowerShell commands and the '--context' parameter for dotnet commands.
-
Error: No service for type 'ITempDataDictionaryFactory' has been registered
InvalidOperationException: No service for type 'Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory' has been registered.