Hi. I made several profiles in launchSettings.json and duplicate appsettings.Dev.json to match with launchsettings.json. This json file is with different connectionstring.

When I test from local, run with Dev, it will connects to the other connectionstring as I expected.

In this case, say that I have two different json: Dev, Prd. When I publish to the webserver,
how does the server know which json files it is going to be used?

I know typical .net core, we can update the code from startup.cs but I couldn't find from nopCommerce. Can anyone help me to swtich json file when I publish the site?