© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago
N0mlss

Appsettings.json across projet

I would like to know if it was possible to have a global appsettings.json across all my project inside the same solution,

I have a project that consist of a website and a webadmin. Both are connected to the database. I have to specify the connection string in both appsettings.json and other variable like email settings.

If there is a change to make, i have to make the change in both appsettings.

I would like to know if it was possible to have something like a global appsettings across the two projects, and then only set project specific variable in the project appsettings.

Thank you for your answers!!
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Check if appsettings.json or appsettings.Development.json
C#CC# / help
3y ago
Correct environments handling (appSettings.json)
C#CC# / help
3y ago
appsettings.json in legacy application
C#CC# / help
4y ago