You will usually come across this problem in .net Core Entity Framework when you first override the OnModelCreating method in your DbContext. The entity type ‘IdentityUserLogin‘ requires a primary key to be defined. If you intended to use a keyless entity type call ‘HasNoKey()’. If you check your DbContext class, you’ll see that when you […]
You can subscribe to the identity tag micro-feed.
This is a quick article about using .NET Core Identity without the standard pages. It was almost titled “why does .NET Core Identity ignore my LoginPath that I set in options?”. Let’s start with a common chunk of code that you’ll find in your Startup.cs file if you’ve added identity to your project… services.AddIdentity<ApplicationUser, ApplicationRole>() […]