I just created an ASP.NET Core 7 MVC web project with local identity in Visual Studio 2022. Once I have done the migration of the database, now I can register/login, but I am surprised I can not find identity related code files in directory Areas/Identity/Pages
.
I have attached a screenshot for better understanding. Can anyone tell me where those files are located? How is this even working?
Full Screen shot
I have already tried to check hidden file but nothing exists. Any ideas?
The source code for pages can be found at the github, for example the Login.cshtml (or the account management in Account/Manage/Index.cshtml
). From the code (see the usage of IdentityDefaultUIAttribute
for example on LoginModel
in Login.cshtml.cs
) and .csproj file (see the RazorGenerate
tags) it seems that the Razor templates are actually compiled and distributed as part of the assembly (you can view the C# classes with decompiler).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With