Posts by SolidSk • 56 points
2 posts
-
0
votes1
answer1295
viewsA: Invalidoperationexception: Cannot create a Dbset for 'Applicationuser' because this type is not included in the model for the context
You defined two different contexts: Testecontext and Applicationdbcontext. Let me focus on the context of Identity. Startup Use the Applicationdbcontext for Addentityframeworkstores:…
-
4
votes1
answer1494
viewsA: How to make an ASP.NET Core MVC application for Portuguese?
To locate the error messages you need to add another service: Adddataannotationslocalization. Example: public void ConfigureServices(IServiceCollection services) { services.AddLocalization(options…