Recommended

Skip Navigation LinksHome / News / View News

Simultaneously calling multiple methods on a WCF service from Silverlight

+ Add to SilverlightShow Favorites
1 comments   /   posted by Silverlight Show on May 20, 2010
(0 votes)
Ola Karlsson had to debug some performance issues in an existing Silverlight app and he decided to share with you this problem and its solution which is quite tricky.

On start, the app would do a number of calls to different methods on a WCF service, this to populate the UI with the necessary data. Recently one of those services had been changed and was now taking quite a bit longer than it used to. This was resulting in quite a long loading time for the whole UI, which was set up so it wouldn’t let the user interact with anything, until all the service calls had finished.

Share


Comments

Comments RSS RSS
  • RE: Simultaneously calling multiple methods on a WCF service from Silverlight  

    posted by Kunal sharma on May 21, 2010 18:50

    Hello

    configure the service to use per call configuration  or just use basichttpbinding .a new context will be created per call and no waiting for earlier call to complete.

    happy coding

Add Comment

 
 

   
  
  
   
Please add 3 and 3 and type the answer here:

Help us make SilverlightShow even better. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)