lundi 16 novembre 2020

Different appsettings.json configuration for the same dotnet core program on the same server

I have dotnet core program that I would like to install 2 different configurations(development and test) of on the same server but using different appsettings.json files.

One needs to use appsettings.Development.json The other must use appsettings.Test.json

Normally, appsettings.json are selected by looking up the value of the System variable called, DOTNET_ENVIRONMENT on the server.

Is there anyone who knows a method to deploy the same piece of software on the same server and there use different appsettings.json files?

Aucun commentaire:

Enregistrer un commentaire