Tartalomjegyzék

< Web API

.Net Core Web Kiadás

Program.cs

Program.cs
if (!app.Environment.IsDevelopment()) {
    app.UseHttpsRedirection();
}
dotnet publish --configuration Release

Forrás