Home » Programming » .NET Programming » Silverlight 3 Beta Duplex support

    I’m testing the updated Duplex support available in Silverlight 3 Beta, the important news is the possibility to simplify and reduce the code in the client:

    • now it’s possible to use the “Add Service Reference” functionality of Visual Studio to consume the service;
    • in this way you the use of channels can be avoided by simply attaching a callback to an event.

     

    I’ve prepared an example based on the material available on the official documentation, download the complete solution from here.

    comments

    1. [...] already blogged about the new Silverlight 3 Beta Duplex support here. In these days I’ve found some interesting articles and tips about this topic, so this is a [...]

    2. [...] a hotový kód celého riešenia serverovej aj klientskej strany si môžete prevziať z blogu http://www.davidezordan.net/blog/?p=935. var addthis_pub="spigi"; [...]

    3. [...] Pre zobrazenie textu je na XAML stránke jediný prvok typu Text Block. Vytvorenie WCF Duplex Services služby je mimo tému tejto publikácie, popis nájdete na msdn http://msdn.microsoft.com/en-us/library/dd470106(VS.95).aspx a hotový kód celého riešenia serverovej aj klientskej strany si môžete prevziať z blogu http://www.davidezordan.net/blog/?p=935. [...]

    4. Michael Martinez says:

      How do I connect Silverlight to a Windows service via WCF?

    5. Davide says:

      @Michael: you can add a “Silverlight enabled WCF service” to the web site project which hosts your Silverlight application, and then call your “Windows Services” from it.
      For more details check out the “Accessing web services with Silverlight” forums on http://forums.silverlight.net/forums/46.aspx and the section “Get Started” of the same site for SL/WCF samples.

      Hope this helps!

    6. [...] was following this thread on the Silverlight forums and need to update the Duplex sample to Silverlight [...]

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>