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.



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

Sign up to start coding

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?