talkingdotnet.com
Enforce HTTPS in ASPNET Core Razor Pages #aspnetcore
Find out how to enforce HTTPS in ASP.NET Core razor pages with either using RequireHTTPS attribute or URL rewriting.