我使用的是Blazor Server Web应用程序.NET Core 3.0.100,具有这些身份验证包
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="3.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="3.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="3.0.0" />
我要转到登录页面(例如,使用端口5011
)
https://localhost:5011/Identity/Account/Login
我通过
转到“注册”页面https://localhost:5011/Identity/Account/Register
我想更改为
https://localhost:5011/login
https://localhost:5011/register
如何做到这一点?