3 results found
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.
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.
InvalidOperationException: No service for type 'Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory' has been registered.