Mike Brind 3/20/2023

Why doesn't my ASP.NET Core 7 web app launch on HTTPS?

Read Original

This technical article addresses a change in ASP.NET Core 7 where the `dotnet run` command no longer launches apps on HTTPS by default, unlike previous versions. It explains the reasoning behind this change to reduce friction for new developers and details how to properly configure HTTPS, including trusting the development certificate via `dotnet dev-certs https --trust` and modifying the `launchSettings.json` file. The guide is aimed at developers working with .NET 7, Razor Pages, or MVC.

Why doesn't my ASP.NET Core 7 web app launch on HTTPS?

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week