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!!
Was this page helpful?