Last post Nov 05, 2018 07:40 AM by Edward Z
Nov 01, 2018 10:45 AMfirstname.lastname@example.org|LINK
I want to set Individual User Accounts auth option in ASP.NET Core Web API template as suggested at this link using VS 2017 Preview:
But when I tried, this option is not available for that. it is shown as this:
Then I tried by insalling core version 2.2 as suggested in github here:
but the result is the same! like this:
Why? and How to solve please?
Nov 01, 2018 11:53 PM|bruce (sqlwork.com)|LINK
Nov 02, 2018 03:05 AM|Xing Zou|LINK
When you create a MVC project with Identity, it will create register and login page for individual user. Basically, a web api project do not need UI so you need to access token from third party since asp.net core does not support it.
However,it is allowed that you develop web apis in MVC projects.
Or you could create a new Web API project with no authentication and then add scaffold identity into it if you want to.
Nov 05, 2018 07:40 AM|Edward Z|LINK
For Individual User Account in Asp.Net Core Web API template, it has been removed and you will not be able to access this from VS.
Based on your previous post, it seems you are getting startted with asp.net core web api.
If so, I would suggest you learn from Asp.Net Core MVC project with Individual User Account.
You could start from Introduction to Identity on ASP.NET Core.
There are big changes from asp.net to asp.net core, I would suggest you learn asp.net core from .net core resource instead of .net framework.
You could start from https://docs.microsoft.com/en-us/aspnet/core/getting-started/?view=aspnetcore-2.1&tabs=windows