.net core profiles
http, https and IIS Express
http profile
• launchUrl: "swagger" → /swagger will be opened at startup.
• applicationUrl: "http://x.x.x.x:3000" → URL and port to run for HTTP.
"http": {
"commandName": "ProjectExample",
"dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
"applicationUrl": "http://x.x.x.x:3000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
https profile
"https": {
"commandName": "ProjectExample",
"dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
"applicationUrl": "https://y.y.y.y.y:7000;https://y.y.y.x:5000;https://y.y.x.x:44351",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
IIS Express Profile
"https": {
"commandName": "ProjectExample",
"dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
"applicationUrl": "https://y.y.y.y.y:7000;https://y.y.y.x:5000;https://y.y.x.x:44351",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
• It runs using IIS Express.
• By default, it uses the URLs in the iisSettings section.
• /swagger is opened at startup.
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"launchUrl": "swagger",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}