zzz projects Entity Framework Core EF Core
Home Articles Knowledge Base Online Examples
  • Home
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework Core - Knowledge Base (KB)

11 results in tag: identity

Login fails after changing password ASP.NET Core

I'm using ASP.NET Core 1.0 and the identity stuff to authenticate and authorize the users. It all works fine except one single thing:...If the user resets or changes his password, he can't sign-in with the new credentials until the ASP.NET App is restarte...
.net-core asp.net-core asp.net-identity entity-framework-core identity
asked by Juergen Gutsch

Get the ApplicationUser in a controller

I am googleing for get the application user in a controller in ASP.NET Identity 3.0 but I only find results for 5 and lower....I am trying to get the ...ApplicationUser... properties but I can't get the ...ApplicationUser... at all. I guess it is easy bec...
asp.net-core c# entity-framework-core identity
asked by StuiterSlurf

.net core identity user id comes different from database

I am trying to get current user's id with identity in .NET Core. Managed to create new user and login with it but whenever loging in with same user identity returns different guid....I have a product entity which stores ...userId... as foreign key. Whenev...
.net asp.net-mvc core entity-framework-core identity
asked by oktykrk

Error while doing Migrations EF core 2.0, changing Identity id from string to int

Scenario:...I have received auto generated project in ASP.NET CORE from my colleague. There is auto-generated code for Account/Manage service. This code includes ApplicationUser Class, DBContext and migration folder with 00000000000000_CreateIdentitySche...
asp.net-core-mvc ef-migrations entity-framework-core identity migration
asked by zolty13

Dot Net Core Identity User reference as Foreign in ApplicationDBContext

I am using the Identity DB context and the Application DB context, I have a table (UserVehicles) in which I did foreign key reference with the ApplicationUser(Identity User) property, when I add migration for the ApplicationDBContext it is creating the sc...
.net-core asp.net-core-identity entity-framework-core identity
asked by Sandeep QI

Controller Action not triggered - Simple Project - ASP.NET MVC CORE 2.0

I have a very simple web application, where I try to let people register a user. Therefore, I try to save user-registration data to Entity Framework, but with no luck....For some reason, IActionResult ...RegisterUser... isn't triggered when submitting a f...
asp.net asp.net-core-mvc asp.net-mvc entity-framework-core identity
asked by thesystem

Unable to get IdentityUser data from ASP.NET Core 2.1 controller

I am developing an application in ASP.NET Core 2.1. I am using Identity with built-in user accounts. Now I am trying to develop a user maintenance module in this application where I'm stuck. I am unable to fetch the data inside the controller. Here is my ...
asp.net-core c# entity-framework-core identity
asked by Roel Geusens

Join not working as expected (Entity Framework)

I can't for the life of me figure out how to join these two tables on UserName using entity framework....I tried both the statement and the method and neither worked....The tables definitely have the same user in them...var employees = _context.Employees....
c# entity-framework-core identity linq
asked by user9376027

Problem with addidentity services, usermanager

InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNetCore.Identity.UserManager`1[MyWebsite.Models.User]' while attempting to activate 'MyWebsite.Controllers.AccountController'....I get this error when accessing / Account / Regist...
asp.net-core asp.net-identity c# entity-framework-core identity
asked by pitten

How i can create custom user and role with ASP.NET Core identity v preview 3.0?

When i'm creating migrates, i get error, something like this:...System.InvalidOperationException: Cannot create a DbSet for 'IdentityRole' because this type is not included in the model for the context. System.InvalidOperationException: Cannot create a D...
asp.net-core asp.net-core-identity c# entity-framework-core identity
asked by Vitaliy Zayarniy

The entity type 'AspNetUserLogins' requires a primary key to be defined?

I scaffolded my database with EF and I changed the ...mydbcontext... to inherit from ...IdentityDbContext... because I want everything under one ...dbcontext.... ...The problem is that when I start the application and write the credentials in the login pa...
asp.net-core c# entity-framework entity-framework-6 identity
asked by user3777245

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!