I've created a brand new site from Visual Studio, and selected "Individual User Account" authentication. The page _LoginPartial.cshtml
contains the following:
<ul class="nav navbar-nav navbar-right">
<li><a asp-area="Identity" asp-page="/Account/Register">Register</a></li>
<li><a asp-area="Identity" asp-page="/Account/Login">Login</a></li>
</ul>
The site works, and allows me to navigate to the Register
and Account
pages; however, I can't see those pages in my project. I don't have, for example, a /Account/Register.cshtml
. My assumption is that the line at the top of _LoginPartial
:
@using Microsoft.AspNetCore.Identity
Has something to do with this; but what?
Are these pages hosted remotely (F12 doesn't seem to be telling me I'm leaving the site), are they baked in but hidden in some way, have I just missed them (if so, sorry!)?