I have client server application, where server is WCF service. In Win8.1 client, I want to access this service, but only on few screens. What is the most effective approach?
1) By creating instance in app where its needed, using:
var client = new SomeRandomNamespace.Server.ServerNameClient();
Q: How to correctly dispose this client?
2) Or by creating this client as globally accessible singleton class, so it will be created only once? What are the benefits and drawbacks? How will be requests processed if there will be multiple requests in same time?
Many thanks!