Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [asp.net-identity]

The ASP.NET Identity system is designed to replace the previous ASP.NET Membership and Simple Membership systems.

Filter by
Sorted by
Tagged with
2 votes
1 answer
161 views

ASP.NET Web API Authentication For Xamarin App

I've recently been learned how to implement a token based authentication with ASP.NET and I would love to get some input on how my code & structure is as well as how I can make it better. The code ...
user avatar
2 votes
0 answers
58 views

Managing invalid cookie when 2 users use the same computer and therefore share the same cookie

I have asked this question on stackoverflow... here, I am asking for some feedback on the solution that I have implemented. I am using ASP.NET MVC default template to logout user: ...
user avatar
2 votes
1 answer
591 views

Extension method for getting custom Principal Claim

I'm writing extension methods to shorten the code required to get custom Claims from an IPrincipal. I have two general forms for ...
user avatar
-1 votes
2 answers
365 views

Extending IdentityUser with nullable foreign key to another IdentityUser [closed]

I'm working on a framework which builds on .net core Identity. Let's say I wanted to extend the IdentityUser<TKey> class with a ...
user avatar
3 votes
1 answer
2k views

Dynamic AuthorizeAttribute with database

I want to create a AuthorizeAttribute that gets the current ActionMethod RouteData and ...
user avatar
  • 93
2 votes
1 answer
196 views

UserStore implementation for two databases

I created our UserStore class to use it with our custom database membership. We use two databases: AMDbContext host the main ...
user avatar
1 vote
1 answer
1k views

ASP.NET Identity 2.0 UserManager alongside with UnitOfWork and Service-Locator anti-pattern

I was wondering whether it is a good aproach to have Identity 2.0 UserManager next to UnitOfWork pattern? I am using ...
user avatar
  • 133