You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you see i tried to use
- "ASPNETCORE_ENVIRONMENT": "Development.Local"
- "ASPNETCORE_ENVIRONMENT": "Development.Server"
I even more tried things like:
- "ASPNETCORE_ENVIRONMENT": "Development.https.Server"
But it seems like i am not supposed to do that as my UI breaks this way.
What I like:
Beeing able to define custom values for environment nested into common ones, so i can also organize my appsettings in a nested clear structure.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I recently tried to adjust my launchsettings file in a .NET 8 Blazor Server App a following way:
{
"iisSettings": {
"windowsAuthentication": true,
"anonymousAuthentication": false,
"iisExpress": {
"applicationUrl": "http://localhost:33691",
"sslPort": 44366
}
},
"profiles": {
"Development.Local": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "https://localhost:7187;http://localhost:5252",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development.Local"
}
},
"Development.Server": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "https://testserver",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development.Server"
}
},
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
Beta Was this translation helpful? Give feedback.
All reactions