AspNetCore.Docs
AspNetCore.Docs copied to clipboard
Enforce HTTPS in ASP.NET Core: Use Status308PermanentRedirect
The previous paragraph says
Use the fields of the StatusCodes class for assignments to
RedirectStatusCode.
But the sample code then uses the status code defined in System.Net and a cast to int.
LGTM, but I think Tom is managing the article on this, so I'll ping him for an 👁️.
Good point! Done in 34f3c2d6c8ed3e34242f0516d003c1a3308b7e50.