I have an ASP.NET MVC site which is composed of 3 projects in a solution:
DomainModel (Class Library - Holds LINQ Repo)
DomainServices (Class Library - Holds Business Logic)
WebUI (ASP.NET MVC Site)
I need a place to store a bunch of settings for our site that can be configured via XML.
Which project should this go in? Does anyone have an example of how they load and then access their settings across these different projects?
Do I load the XML file once, in the constructor of some C# class that contains properties for all my settings?
Can someone give me some examples and tips on storing settings in an XML file for use in a multi-project solution?