Cannot find identity in add New Scaffolder menu

Dong Kyu Hwang 21 Reputation points
2021-01-10T12:32:52.51+00:00

Hello,

These days, I am studying about Blazer Server app to review whether or not I could use this framework for my personal projects.

During checking the default Authentication service in VS 2019 community version, individual User Accounts, I realized that I could not add a Login page using Scaffold Identity.

In the Documentation, to get the Login page we have to do project > Add > New Scaffolded Item .., but there is no such a menu any more for Blazer app.

Here is my VS studio view:

55046-image-1.png

In english:

Installed
..ID
.. Common
......API
......MVC
......Razor Component
......Rezor Page
..Layout

There is no "identity" menu to add and modify default Auth pages.

I've tested on

  • Visual Studio 2019 Community Version (16.8.3)
  • .NET 5.0 / .NET 3.1 (Tested Both version)
  • Blazor Server APP

Could you kindly share the solution for this?

Thanks,
Dylan.

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,827 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 28,951 Reputation points Microsoft Vendor
    2021-01-12T08:44:21.703+00:00

    Hello @Dong Kyu Hwang ,

    Thank you for taking time to post this issue in Microsoft Q&A forum.

    Looks like there is something wrong with VS IDE on your side. If you follow these steps:

    Close Visual Studio > create a new Blazor App solution > select Blazor Server App and keep other settings by default > right-click your project > Add > New Scaffolded item…

    will you see Identity menu this time? If this issue persists, please try these steps to troubleshoot:

    1. Try to reset settings of Visual Studio and if you have configured some settings in VS, you can export the settings first.(remember to select General at the step 4)
    2. Try to disable any third-party extensions temporarily from Extensions > Manage Extensions > Installed > find and click Disable > restart Visual Studio to test again.
    3. Try to repair Visual Studio from Visual Studio Installer > Visual Studio Community 2019 > More > Repair.
    4. Try to uninstall and reinstall ASP .NET and web development workload from Visual Studio Installer > Modify > uncheck the ASP .NET and web development workload > Modify > check it again > Modify.

    If this issue still persists, I’m afraid, you may need to try to reinstall Visual Studio, and this is the link for downloading Visual Studio 2019.

    • Update1:

    The identity item (IdentityScaffolder) is listed under ID option when International Settings of Language is set to Korean. See more here: Identity빈 프로젝트로 스 캐 폴드

    Best Regards,
    Tianyu

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 additional answers

Sort by: Most helpful