https://learn.microsoft.com/fr-fr/dotnet/api/microsoft.extensions.hosting.hostinghostbuilderextensions.useenvironment?view=net-10.0-pp
HostingHostBuilderExtensions.UseEnvironment(IHostBuilder, String) Method...
Specifies the environment to be used by the host. To avoid the environment being overwritten by a default value, ensure this is called after defaults are...
stringmethod