Learn

The file appsettings.json stores application level settings. The application (project) can access these settings in code. Things like logging levels and database connection strings are stored here. The app settings can change from one environment to another and it is common to have separate files for Development, User Acceptance, and Production.

Instructions

1.

The file appsettings.json is open. This is where we will store the database connection string.

Sign up to start coding

By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.
Already have an account?