asp.netidentityscaffolding

ASP.NET Identity "new item scaffolded" not shown


I want to add identity scaffolded item to my project (Visual Studio 2022 - ASP.NET Wep Application .Net Framework).

But, I cannot add identity by using Add > New Scaffolded Item, because there is no identity selection as shown in the screenshot here. How can I add it ? Thank you.

I am trying to add to my project register and login and roles for users and admin

Screenshot


Solution

  • After some search I found that Client-side Blazor apps use their own Identity UI approaches and can't use ASP.NET Core Identity scaffolding.

    Source: Scaffold Identity into an MVC project with authorization

    For server side client apps In visual studio 2022 it is an issue in the version and not solved until now.