I'm finding mixed answers to my question out in the web. To elaborate on the question:
- Should I instantiate a service client proxy once per asynchronous invocation, or once per Silverlight app?
- Should I close the service client proxy explicitly (as I do in my ASP.NET MVC application calling WCF services synchronously)?
I've found plenty of bloggers and forum posters out contradicting each other. Can anyone point to any definitive sources or evidence to answer this once and for all?
You should open your client per call and close it immediately after. If you in doubt browse using IE to a SVC file and look at the example they have there.