Skip to main content

Questions tagged []

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

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 ...
AcePilot10's user avatar
2 votes
0 answers

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: ...
Hooman Bahreini's user avatar
2 votes
1 answer

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 ...
Michael Brandon Morris's user avatar
-1 votes
2 answers

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 ...
Linus Caldwell's user avatar
3 votes
1 answer

Dynamic AuthorizeAttribute with database

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

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 ...
NinjaDeveloper's user avatar
1 vote
1 answer

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 ...
Marek's user avatar
  • 123