* Enforce HTTPS in ASP.NET Core: Use Status308PermanentRedirect
The previous paragraph says
> Use the fields of the [StatusCodes](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.http.statuscodes) class for assignments to `RedirectStatusCode`.
But the sample code then uses the status code defined in `System.Net` and a cast to `int`.
* Use Status307TemporaryRedirect in other sample code (Program2.cs)
* Replace all hardcoded status codes with System.Net.HttpStatusCode
* Replace all StatusCodes references to HttpStatusCode
Co-authored-by: Michal Mrnuštík <michal.mrnustik@riganti.cz>