Auto redirection to https in dotnet core

Author : Sachin Sharma
Published On : 10 Apr 2023

how to enable auto redirection to https in dotnet core.
use app.UseHttpsRedirection(); in the method Configure in Startup.cs

app.UseHttpsRedirection();

Comments

No comments have been added to this article.

Add Comment