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:

Get hands-on with 1400+ tech skills courses.