"https": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
"applicationUrl": "https://localhost:7071;http://localhost:5130",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
Is the second one a fallback url or something? I couldn’t find any documentation
>Solution :
Is the second one a fallback url or something
No, they are different urls for different protocols – one for HTTP and another one for HTTPS. Usual pattern is to accept requests both for HTTP and HTTPS and Enforce HTTPS via UseHttpsRedirection call.