Outils pour utilisateurs

Outils du site


web:asp.net:core:configuration

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
web:asp.net:core:configuration [2023/11/17 19:49] – [Providers] sgariepyweb:asp.net:core:configuration [2023/11/17 20:09] (Version actuelle) – [Providers] sgariepy
Ligne 104: Ligne 104:
 | Environment variables  | Powershell: ''setx key "environment value"'', bash: ''export key="environment value"''  | |  | Environment variables  | Powershell: ''setx key "environment value"'', bash: ''export key="environment value"''  | | 
 | Command-line arguments  | ''dotnet run --key "important value"''  |  |  | Command-line arguments  | ''dotnet run --key "important value"''  |  | 
 +
 +
 +L'environnement est lu de ''DOTNET_ENVIRONMENT'' ou ''ASPNETCORE_ENVIRONMENT''.
 +
 +
  
 Source: [[https://stenbrinke.nl/blog/configuration-and-secret-management-in-dotnet/|Everything you need to know about configuration and secret management in .NET]] Source: [[https://stenbrinke.nl/blog/configuration-and-secret-management-in-dotnet/|Everything you need to know about configuration and secret management in .NET]]
  
  
web/asp.net/core/configuration.1700246941.txt.gz · Dernière modification : 2023/11/17 19:49 de sgariepy