Last post May 28, 2013 09:24 AM by aarsh
May 19, 2013 09:38 AM|aarsh|LINK
Hello friends, I am considering to use WCF service for the Widgets on the Dashboard of our ASP.NET 4.0 classic web forms application. The service would be performing select operations (most likely) and update operations.
Rather than reusing the same service in the same application, we would be having to use multiple select statements in a WCF service. But I am wondering about the best practices and performance ehnacements for fast & efficient computation. So may I please
have your ideas or tips fro this scenario ?
One of my questions would be, should I use single/per-call/per-session application instance etc.
May 23, 2013 03:10 PM|aarsh|LINK
May 27, 2013 06:01 AM|Amy Peng - MSFT|LINK
First you should try to know the diffrence betwwen the single/per-call/per-session:
Per-Call: Create a new WCF service instance on every WCF client method call.
Per-Session: Only one WCF service instance should be created for every WCF client session.
single: Only one global WCF service instance should be created for all WCF clients.
Then for more information about how to use the three single/per-call/per-session, please try to refer to:
Hope it can help you.
May 28, 2013 09:24 AM|aarsh|LINK
Okay thanks, but it was just an example question my point was, what as a whole should I consider ?