Say we have a project with SharePoint Visual Web parts + other UI features. These UI components get data from WCF services (pretty much dedicated to this solution). The WCF services get data from database and via Entity Framework and also from SharePoint lists.
I am planning to launch the services in hive in ISAPI. Admins can manage on the server with a console application. I would like to unit test the services and do some testing for UI as well.
How should I arrange the solution in Visual Studio? For example, should I have separate SharePoint projects (or solution packages) for UI and services, and separate projects for the console application (with service reference for the wcf services) and unit tests (service references + REST hacks).
I am planning to have some settings stored in a SharePoint list whose relative url may differ related to farms. Where to get the list address from and/or connection strings?