Hi,
I am using AspNetCore.Identity
to create a web app.
Using scaffold-identity added a bunch of Razor pages automatically and I like how the temp message is setup with partial
in those files.
An example below.
@page
@model ChangePasswordModel
@{
ViewData["Title"] = "My Password";
ViewData["ActivePage"] = ManageNavPages.ChangePassword;
}
<h4>@ViewData["Title"]</h4>
<partial name="_StatusMessage" for="StatusMessage" />
According to partial-tag-helper, partial name="_StatusMessage"...
means using _StatusMessage.cshtml
, however, using scaffold-identity did not actually add the file to my project. My assumption is that the access is hidden and gained through @page
.
I want to look into how _StatusMessage.cshtml
is written so I can use the same style on other pages that I created on my own.
Please let me know if anyone knows how to get to the detail of _StatusMessage.cshtml
.
I am using .net 5
and Microsoft.VisualStudio.Web.CodeGeneration.Design
package version is 5.0.2
Thank you.