How to obtain a list of Users from ASP.NET Identity?
Edit: This question is outdated
Edit: This question is outdated
In the previous ASP.NET MVC, there was an option to redirect to the login action, if the user was not authenticated.
We have created a new ASP.NET 4.5.1 project as follows:
I just updated to ASP.NET Identity EntityFramework 2.0.0-beta1 and got a compilation errors for my Roles classes. Maybe somebody can give me some clue how to get all users for a specific Role?
How can i customize Asp.net Identity 2 username already taken validation message(Name XYZ is already taken.)? Thanks
Last night, I decided to try and implement SignalR to my application, and because I use MVC 5, I had to use the 2.0 beta of SignalR.
Using Visual Studio 2013.4 (Visual Studio 2013 Update 4) I have created a regular ASP.NET MVC 5 project with Individual User Accounts authentication configuration. All the users registration and log-in features has been already scaffolded for me by Visual Studio and works fine.
I am implementing the AspNet identity in ASP.NET MVC application. But when I am going through the online materials I am quite confused about the 2 dlls Microsoft.Aspnet.Identity.Core and Microsoft.AspNetCore.Identity.
I use Asp.Net Identity to control my app’s authorization. Now, I need to do this: if the user does not operate in 30 minutes, jump to the login page, when he login does not select “isPersistent” checkbox.
And, if he selected “isPersistent” checkbox, set the expiration date of cookie for 14 days.
I try to do this by change the Startup.Auth.cs like this:
I’m using below code to create a ClaimIdentity in OpenIdConnectServerProvider.AuthorizationProvider. But the identity.Name is not searlized. How to allow the OpenIdConnectServer serarlize the name? Thanks.