5 (100%) 1 vote

EasyHostingASP.NET | Best and cheap ASP.NET Core hosting. IdentityServer is designed for flexibility and part of that is allowing you to use any database you want for your users and their data (including passwords). If you are starting with a new user database, then ASP.NET Identity is one option you could choose. This quickstart shows how to use ASP.NET Identity with IdentityServer.

This quickstart assumes you’ve been through all of the prior quickstarts. The approach this quickstart takes to using ASP.NET Identity is to create a new project from the ASP.NET Identity template in Visual Studio. This new project will replace the prior IdentityServer project we built up from scratch in the previous quickstarts. All the other projects in this solution (for the clients and the API) will remain the same.

New Project for ASP.NET Identity

The first step is to add a new project for ASP.NET Identity to your solution. Given that a lot of code is required for ASP.NET Identity, it makes sense to use the template from Visual Studio. You will eventually delete the old project for IdentityServer (assuming you were following the other quickstarts), but there are several items that you will need to migrate over (or rewrite from scratch as decribed in the prior quickstarts).

Start by creating a new “ASP.NET Core Web Application” project.


Then select the “Web Application Template” option.


Then click the “Change Authentication” button, and choose “Individual User Accounts” (which means to use ASP.NET Identity):


Finally, your new project dialog should look something like this. Once it does, click “OK” to create the project.


Alexia Pamelov

Alexia Pamelov

My name is Alexia Pamelov and I have spent the past 3 years building money making blogs review. Since then I have launched lots of successful nice blogs and after selling my survivalist blog I decided to teach other people how to do the same.
Alexia Pamelov