Skip to content

Instantly share code, notes, and snippets.

@AnthonyGiretti
Last active November 24, 2025 01:18
Show Gist options
  • Select an option

  • Save AnthonyGiretti/adf6c9bc4accc41f3a6ee95216f713cc to your computer and use it in GitHub Desktop.

Select an option

Save AnthonyGiretti/adf6c9bc4accc41f3a6ee95216f713cc to your computer and use it in GitHub Desktop.
ASP.NET Core 10: Easy support of local multi host: launchsettings.json
{
"profiles": {
"ApiApp": {
"commandName": "Project",
"dotnetRunMessages": true,
"applicationUrl": "https://api.localhost:7001",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"AdminApp": {
"commandName": "Project",
"dotnetRunMessages": true,
"applicationUrl": "https://admin.localhost:7002",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"FrontendApp": {
"commandName": "Project",
"dotnetRunMessages": true,
"applicationUrl": "https://frontend.localhost:7003",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment