Click here to Skip to main content
Click here to Skip to main content
 
Add your own
alternative version

Synchronous Web Service Calls with Silverlight: Dispelling the async-only myth

, 16 Nov 2008 LGPL3
In this article, we look at the asynchronous web service model in Silverlight, and how it can be augmented to allow synchronous web service calls. We also explore efficient channel caching, and asynchronous Silverlight Unit Tests.
SilverlightCore_01_00.zip
Documentation
Libraries
Microsoft.Silverlight.Testing
Microsoft.Silverlight.Testing.dll
Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll
Source
Silverlight
SilverlightCore
Bin
Debug
de
es
fr
it
ja
ko
zh-Hans
zh-Hant
Communication
Concurrency
Diagrams
SilverlightCoreOverview.cd
obj
Debug
TempPE
Properties
Resources
Services
SilverlightCore.Tests
Bin
Debug
de
es
fr
it
ja
ko
zh-Hans
zh-Hant
obj
Debug
TempPE
Properties
SilverlightExamples
ServiceReferences.ClientConfig
Bin
Debug
Images
OlympicPictogram.png
obj
Debug
TempPE
Properties
Service References
SimpleServiceReference
configuration.svcinfo
configuration91.svcinfo
Reference.svcmap
SimpleService.disco
SimpleService.wsdl
SimpleService1.wsdl
SilverlightExamples.Web
SimpleService.svc
App_Data
bin
de
es
fr
it
ja
ko
zh-Hans
zh-Hant
ClientBin
obj
Debug
TempPE
Properties
SimpleBlockingSample.zip
SimpleBlockingSample
BlockingSample.sln.docstates
BlockingSample.suo
NonBlockingSample.sln.docstates
SimpleBlockingSample
Bin
Debug
NonBlockingSample.dll
NonBlockingSample.pdb
NonBlockingSample.xap
BlockingSample.csproj.user
NonBlockingSample.6.0.ReSharper.user
obj
Debug
DesignTimeResolveAssemblyReferences.cache
DesignTimeResolveAssemblyReferencesInput.cache
NonBlockingSample.dll
NonBlockingSample.g.resources
NonBlockingSample.pdb
TempPE
Service References.SimpleServiceReference.Reference.cs.dll
Properties
Service References
SimpleServiceReference
configuration.svcinfo
configuration91.svcinfo
Reference.svcmap
SimpleService.disco
SimpleService.wsdl
SimpleService1.wsdl
ServiceReferences.ClientConfig
SimpleBlockingSample.Web
bin
NonBlockingSample.Web.dll
NonBlockingSample.Web.pdb
BlockingSample.Web.csproj.user
ClientBin
NonBlockingSample.xap
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
NonBlockingSample.Web.dll
NonBlockingSample.Web.pdb
TempPE
Properties
SimpleService.svc

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)

Share

About the Author

Daniel Vaughan
President Outcoder
Switzerland Switzerland
Daniel Vaughan is a Microsoft MVP and co-founder of Outcoder, a Swiss software and consulting company dedicated to creating best-of-breed user experiences and leading-edge back-end solutions, using the Microsoft stack of technologies--in particular WPF, WinRT, Windows Phone, and also Xamarin.Forms.
 
Daniel is the author of Windows Phone 8 Unleashed and Windows Phone 7.5 Unleashed, both published by SAMS.
 
Daniel is the developer behind several acclaimed Windows Phone apps including Surfy, Intellicam, and Splashbox; and is the creator of a number of popular open-source projects including Calcium SDK, and Clog.
 
Would you like Daniel to bring value to your organisation? Please contact

Daniel's Blog | MVP profile | Follow on Twitter
 
Windows Phone Experts
Follow on   Twitter   Google+   LinkedIn

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141220.1 | Last Updated 16 Nov 2008
Article Copyright 2008 by Daniel Vaughan
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid