Default debug launch URL for ASP.NET Core
1 answer
There was very little documentation that I could find regarding where this start URL was declared. This post on MSDN has a brief mention of this. I eventually came across it in a file launchSettings.json
under the Properties
project node like below:
Here are the contents of this file:
{
"profiles": {
"IIS Express": {
"commandName" : "IISExpress",
"launchBrowser": true,
"launchUrl": "api/values",
"environmentVariables" : {
"ASPNET_ENV": "Development"
}
}
}
}
You can change launchURL
to your desired default route.
+12
source to share