(X) Hide this Join our next live webinar session by Braulio Diez - Sketchflow in Real Scenarios, on Sept 29th, 8am - 9am PDT.
Learn More | Sign Up | More Webinars by SilverlightShow


Skip Navigation LinksHome / Search


Results Per Page

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

  • 1
  • 2
Order by Publish Date   Ascending Title   Rating  

  • 3 comments  /  posted by  Gill Cleeren  on  Jul 27, 2010 (2 months ago)

    In this third and last part of the duplex story in Silverlight, we’ll take a look at the third option offered by Silverlight to perform duplex communication.

    Let’s quickly review the first two options. In Part 1, we looked at the Http Polling Duplex binding. Using a continuous polling mechanism on the network layer, this binding makes it possible to create an illusion of duplex communication. The big plus of this binding is the possibility we have to use it in internet scenarios, since all communication goes over plain HTTP.

  • 0 comments  /  posted by  Gill Cleeren  on  Jul 20, 2010 (2 months ago)

    In the first part of this series on duplex communication in Silverlight 4, we did a deep dive in one of the available options offered by the platform, namely the Http Polling Duplex binding. It’s advised that you read that article first, since this second part continues where we left of in the first part.

    To summarize the first part quickly, we saw that Silverlight applications in some situations can really benefit from duplex communication. In scenarios where the client needs to be updated because of changes in the state of the server side (for example a change in a database, a file change…), the best solution is working duplex.

  • 6 comments  /  posted by  Gill Cleeren  on  Jul 05, 2010 (3 months ago)
    Silverlight 4 offers us many choices to work with services to get data into our applications. Supported technologies include WCF, ASMX, REST, WCF RIA Services etc. Through the use of any of these, it’s quite easy to get data from the server to the client application and vice versa. They all have one thing in common: before the data is sent, the client has to perform a request to the server to do so. The communication is known to be client-initiated. But what if the server wants to initiate communication by sending some data to the client, without there being a request first? In this case, we need to use duplex communication, so that both sides of the communication channel can start sending data.
  • HTTP duplex messaging improvements in Silverlight 4

    0 comments  /  posted by  Silverlight Show  on  Jun 28, 2010 (3 months ago)
    Tags: HTTP , Polling Duplex , Silverlight 4 , Yavor Georgiev
    In his new post for the Silverlight Web Services Team blog, Yavor Georgiev talks about HTTP duplex messaging in Silverlight 4.

    One of the new features in the WCF stack in Silverlight 4 is an improvement of our PollingDuplex binding, which allows duplex communication over HTTP. HTTP is a request/reply communication medium, so some tricks are needed to make it look like a duplex transport, where both the client and the server can send messages to each other.

  • 0 comments  /  posted by  Silverlight Show  on  May 15, 2010 (4 months ago)
    Tags: Tools , Polling Duplex , WCF RIA Services , Joe Zhou
    Joe Zhou announces the release and provides a link to a new Fiddler inspector - a wild popular tool for web development debugging.

    It enables user to look at the http traffic and diagnoses issues. Natively it provides Raw, Hex, Xml and some other views that understand specific formats. For the format it doesn’t understand, it provides an Inspector plugin model that user can easily implement and hook it up to display http package in a more readable format.  In this post, I will show you a new inspector that understands .NET framing used by Polling Duplex WCF in Silverlight 4. It also understands raw binary Xml used by WCF RIA services and binary soap message used in general WCF services.

  • Using a PollingDuplex service to handle long running activities

    0 comments  /  posted by  Silverlight Show  on  Apr 26, 2010 (5 months ago)
    Andrea Boschin demonstrates how to handle long running activities with the help of a PollingDuplex.

    Imagine you have a long task to accomplish and need to get updates from the webserver that is running the activity. This task may be an import or parsing of a complex file.  Doing this activity with a normal page or with a webservice may incur in timeouts and obviously leave the user waiting the end of the task without a visible notification

  • 0 comments  /  posted by  Silverlight Show  on  Apr 12, 2010 (5 months ago)
    Christopher Scrosati explains how tracing helps when debugging the server side PollingDuplex in Silverlight 4.

    Did you know it is now easier to debug the server side PollingDuplex in Silverlight 4? With the addition of tracing, you can now get a peek at what is happening internally within your service. Traces from PollingDuplex will include information about what failed in communicating with your clients and how it was handled.

  • Comparison of HTTP polling duplex and net.tcp performance in Silverlight 4 RC

    0 comments  /  posted by  Silverlight Show  on  Mar 29, 2010 (6 months ago)
    Tags: HTTP , Polling Duplex , Silverlight 4 , Tomasz Janczuk
    Tomasz Janczuk has compared the performance of various data push options in Silverlight 4 RC including net.tcp and the various modes of HTTP polling duplex protocol.

    Silverlight 4 RC that shipped recently at MIX 2010 supports a new mode of the HTTP polling duplex protocol with greatly improved performance compared to the version in Silverlight 3. This post compares the performance of the three mechanisms for asynchronous data push from the server to the client available in Silverlight 4 RC: the net.tcp protocol, and the two modes of the HTTP polling duplex protocol (SingleMessagePerPoll and MultipleMessagesPerPoll).

  • 0 comments  /  posted by  Silverlight Show  on  Nov 25, 2009 (10 months ago)

    In this video posted by Yavor Georgiev you can learn how to enable scale out between multiple web role instances.

    Effectively Invensys used a WCF service hosted in a Windows Azure web role to tunnel bi-directional HTTP traffic from the Windows Azure platform AppFabric service bus capability to Silverlight clients. Unfortunately this workaround is needed since the TCP-based relay binding that service bus offers is not supported in Silverlight at this point.

    Once Invensys was using PollingDuplex in Azure, they needed to scale to a large number of clients, so they needed to enable scale out between multiple web role instances. This capability is not available out-of-the-box in Silverlight 3, so some hackery was required.

  • How to Avoid Flooding a PollingDuplex Server

    0 comments  /  posted by  Silverlight Show  on  Oct 08, 2009 (more than a year ago)

    In this article Andrea Boschin demonstrates how to avoid flooding in a Polling Duplex Service.

    Returning on the PollingDuplex argument, today I would like to illustrate a tecnique I used to avoid the flooding in my Polling Duplex service. The problem come from the fact that my server retain a list of connected clients and is unable to detect the disconnection in a short time. After a while the notification from the server to the disconnected client will timeout so the server handle the timeout and remove the client from its list. But if for some reason a client Register itself multiple times the server notification list will grow and this may become a problem causing the service to slow down its response time.

  • 1
  • 2