FE Core
4 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.
Connection refused 127.0.0.1:3306 in .Net Core and MySql
Asp.Net 5 and MySql throw connection refused 127.0.0.1:3306 when I try CI and run automation test on it. Test project is still passed all cases in local.
Eror the DbContext of type cannot be pooled in Asp.Net Core
The DbContext of type cannot be pooled because it does not have a single public constructor accepting a single parameter of type DbContextOptions.
Your startup project doesn't reference Microsoft.EntityFrameworkCore.Design
Your startup project doesn't reference Microsoft.EntityFrameworkCore.Design in asp.net core FE. This package is required for the Entity Framework Core Tools to work.