The Easy Way To Synchronously Call WCF Services In Silverlight(johnleitch.blogspot.com)

submitted by JohnnyCakeJohnnyCake(40) 2 years, 2 months ago

If you're reading this you probably know why Microsoft tries to force the use of asynchronous WCF service calls in Silverlight. While they may have a strong case for their decision, it can lead to bloated, messy code when several service calls are chained together. The following extension method, through heavy use of reflection, allows for synchronous service calls. Remember, do not block the UI thread.

add a comment |category: |Views: 261

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story