Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Razor Pages - Where are the Identity/Account pages?

$
0
0

I have just started dabbling in Razor Pages yesterday.  I created a new razor project [dotnet new razor --auth Individual ], which gave me the default skeleton.  When I ran the project and clicked the Register link to test Identity, it took me tohttps://localhost:5001/Identity/Account/Register page, which seemed to work just fine.  However I wanted to inspect this page in my project, but... I can't find it.  There is no "Account" directory, nor is there a "Register" page.  I inspected the _LoginPartial page, which clearly shows the link path:

<a asp-area="Identity" asp-page="/Account/Register">Register</a>

In my Areas folder, I do have /Identity/Pages, but the only file contained inside is _ViewStart.cshtml .  I checked the root /Pages folder, but the Register page isn't in there either.  So I'm confused as to where this page is generated from, why I cannot see it in my project, and how I would be able to make changes to it if needed.  I have tried googling the subject, but doesn't seem like anyone else is sharing my experience, yet most of the Razor tutorial indicate the same project structure as mine.

Can anyone point me to where these Account-related pages are located??  Thanks


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>