Recommended

  • Silverlight 4 Podcast Pack with Tim Heuer
  • Building Modular Silverlight Applications
  • Prism -  10 Things to Know
  • Securing Silverlight Application and WCF Service using ASP.Net Authentication Techniques
  • Model– View – ViewModel in Silverlight
Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 3 results for Duplex Service.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Silverlight Show  on  Aug 28, 2009 (7 months ago)
    Jeff Prosise has updated a Silverlight 2 client that he wrote last year to use the new duplex infrastructure in Silverlight 3.

    Silverlight 3 dramatically improved the duplex client story by introducing strongly typed proxies for duplex services. The result? You can now write a complete duplex client with as little as 10 lines of code. You simply use Visual Studio's "Add Service Reference" command (or the command-line equivalent, SlSvcUtil.exe, also new in Silverlight 3) to generate a proxy for the duplex service and then use it as you would any other Web service proxy--method parameters and all. As a bonus, the proxy notifies the client that a callback has been received on the UI thread, so there's no longer any need to marshal off a thread-pool thread as there was in Silverlight 2.



  • Pushing Data From the Server to Silverlight 3 Using a Duplex WCF Service

    0 comments  /  posted by  Silverlight Show  on  Jun 25, 2009 (9 months ago)

    Ian Blackburn discusses how Silverlight 3 could be used with duplex services to push data from the server to the clients and produces a simple example of how to do this.

    We want a simple example, and that is what we will get.  The server will periodically push a “LiveData” message to any Silverlight client that has connected, and the client will display it.  I am not concerned how the data gets to the server here, only how to send it out to the client once we have it.

  • 5 comments  /  posted by  Thomas Holloway  on  Jul 06, 2008 (more than a year ago)

    Note: This article is submitted by Thomas Holloway for Silverlight Contest: Write and Win.Thanks a lot, Thomas! Hello All, Please drop a comment if you like it.

    Overview
    Alright, so now that we know what a simple messenger looks like with WCF callbacks, what does it take to put one together in Silverlight? For starters, Silverlight does not have the same capabilities as the full WCF framework. WCF callbacks in Silverlight must be done through HTTP Polling and therefore we don’t really have a truly bi-directional environment. Instead, we must manually setup the message asynchronous message architecture with a few special classes in a new System.ServiceModel.PollingDuplex library.

    Download the Solution