I want to encapsulate every resource from the client application with only one web service which can use my classlib.
I'm confused to access to other resources (web services, databases...) from the class library. Because i think ClassLib should only have classes to reach objects within hierarchy, calculate some things etc. If i set database queries or method calls from library i will have to maintain its connection strings etc...
What kind of an architecture should i use?