Welcome to Pete Brown's 10rem.net

First time here? If you are a developer or are interested in Microsoft tools and technology, please consider subscribing to the latest posts.

You may also be interested in my blog archives, the articles section, or some of my lab projects such as the C64 emulator written in Silverlight.

(hide this)

Got Duplex? (Silverlight 2 and WCF Duplex Communications)

Pete Brown - 23 April 2008

image 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<T>. 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.

     
posted by Pete Brown on Wednesday, April 23, 2008
filed under:      

5 comments for “Got Duplex? (Silverlight 2 and WCF Duplex Communications)”

Comment on this Post

Remember me

2 trackbacks for “Got Duplex? (Silverlight 2 and WCF Duplex Communications)”

  1. Community Blogssays:
    Eric Hexter is blogging about testing SL, TeamLive is using SL, Ola Karlsson on Semi-transparent SL,
  2. POKE 53280,0: Pete Brown's Blogsays:
    I'm doing a MSDN GeekSpeak next week on Connecting Silverlight and wanted to make sure I had another