How to Disable SSL on ASP.NET Core 5 Project in Visual Studio 2022
How to Disable SSL on ASP.NET Core 5 Project in Visual Studio 2022
In the projects debug settings there is a "Use SSL" checkbox.
Menu Debug | (Project Name) Debug Properties is one route to the settings. Editing launchSettings.json would be another.
In Startup.cs try removing
app.UseHttpsRedirection();
from the index method inside the home controller
[RequireHttps]
In Program.cs remove
app.UseHttpsRedirection();
and In Debug option of the project, click the "Open debug launch profiles UI" link and untick the Use SSL under IIS Express