...

/

Configuring the ASP.NET Core Backend

Configuring the ASP.NET Core Backend

Learn to configure an ASP.NET project for staging and production.

In this section, we are going to create separate appsettings.json files for staging and production as well as for working locally in development.

Configure ASP.NET backend for staging and production

Let's open our backend project in Visual Studio and carry out the following steps:

  1. Let’s now go to “Solution Explorer,” as illustrated in the following screenshot:

Press + to interact
The appsettings files in Solution Explorer
The appsettings files in Solution Explorer

Notice that two settings files start with the word appsettings.

...