Blazor Server
I have a Blazor Server application with a set of custom environment variables, I am trying to set the environment into
DevelopmentLocal
on the web.config
file, however It stays on the Development
environment
Program.cs
web.config
This is the list of appsettings.json
1 Reply
Just to validate, you don't have a
DOTNET_ENVIRONMENT
set right?
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/environments?view=aspnetcore-8.0#environmentsUse multiple environments in ASP.NET Core
Learn how to control app behavior across multiple environments in ASP.NET Core apps.