I'm developing a solution with C# and .NET Framework 4.7.
The solution has a ASP.NET Web MVC application and a Windows Service. Both connect to the same database and now I'm using their configuration files to store.
Is there any other way to store the connection string that both application can use it?
I don't want to have duplicated the same information in two configuration files.
There are also another settings that I would like to share.