I have a big solution (~50 projects) consisting many web projects and web service projects grouped to modules (solution folders). The reason why I have many WebApi projects is that I assume, in the future, they will be deployed on different domains.
As I mentioned, a module can have many web api projects and class library projects and one test project. At the moment I have 5 modules, so that I have 5 test projects - I call them ModuleTestProject - and each one need the same shared configuration data.
In general, how to do it in a good way?
I have tried to put the configuration in a separated TestSetup class library project having app.config and every ModuleTestProject referencing it. I have read an article here how to do it, but I do not feel this way is the pretty way.
My another idea is also a separated project where classes contains the configuration data. This way I do not have to deal with publishing the app.config file, etc.
But, before I do anything I think good to ask the more experienced people than I am.
I appreciate your help in advance!