(X) Hide this Watch the recording of the webinar 'XNA for Windows Phone 7' delivered on June 30th by Peter Kuhn. In-deep walkthrough to XNA for Windows Phone 7 will be available in the 3-day online training on July 13, 14 and 15. Learn more on the training
SilverlightShow most popular article series are now available as offline downloads in our Ebook area. More ebooks released every other day!
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .
        Login with Facebook

Got Duplex? (Silverlight 2 and WCF Duplex Communications)

(2 votes)
1 comments   /   aggregated from POKE 53280,0: Pete Brown's Blog : Silverlight on Apr 23, 2008   /   original article
Categories:   General

Eugene Osovetsky made a pretty exciting announcement yesterday regarding pushing data to Silverlight in Beta 2.

Beta 2 will likely include a new WCF capability for duplex services based on DuplexReceiver. IMHO, this helps eliminate socket coding for some of the more common scenarios:

  • Chat applications
  • Data update notifications in biz apps

There will be both a client (Silverlight) and a server (WCF) component to this. In the spirit of keeping Silverlight's core platform agnostic, the client-side piece will be shipped as an extension assembly that you can include in your application as needed.

Having gone the socket route for a chat application demo I wrote (screenshot above), this is a very welcome addition. I was never proud of the sockets mush I put together in that (which is why the source is by-request only, I don't think it was a good pattern to follow), and would be happy to convert it to this new pattern.

Keep in mind this is all pre-release information and may or may not reflect what finally shows up in Beta 2 or RTW.

More information on Eugene's blog here.

Share this post: Email it! | bookmark it! | digg it! | reddit!

Subscribe

Comments

  • -_-

    RE: Got Duplex? (Silverlight 2 and WCF Duplex Communications)


    posted by Paul on Jun 05, 2008 13:40

    Can you tell me why this duplex feature will be better than the sockets implementation?  What are the pros and cons when comparing the 2 methods?

Add Comment

Login to comment:
  *      *       
Login with Facebook