<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Silverlight for Business &#187; WCF</title>
	<atom:link href="http://silverlightforbusiness.net/tag/wcf/feed/" rel="self" type="application/rss+xml" />
	<link>http://silverlightforbusiness.net</link>
	<description></description>
	<lastBuildDate>Thu, 05 Jan 2012 07:41:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='silverlightforbusiness.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/98e6239e13bc89023c26c53413ea95ab?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Silverlight for Business &#187; WCF</title>
		<link>http://silverlightforbusiness.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://silverlightforbusiness.net/osd.xml" title="Silverlight for Business" />
	<atom:link rel='hub' href='http://silverlightforbusiness.net/?pushpress=hub'/>
		<item>
		<title>Pushing Data From the Server to Silverlight 3 using a Duplex Wcf Service</title>
		<link>http://silverlightforbusiness.net/2009/06/23/pushing-data-from-the-server-to-silverlight-3-using-a-duplex-wcf-service/</link>
		<comments>http://silverlightforbusiness.net/2009/06/23/pushing-data-from-the-server-to-silverlight-3-using-a-duplex-wcf-service/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 05:32:22 +0000</pubDate>
		<dc:creator>ianblackburn</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Duplex]]></category>
		<category><![CDATA[WCF]]></category>

		<guid isPermaLink="false">http://silverlightforbusiness.wordpress.com/2009/06/23/pushing-data-from-the-server-to-silverlight-3-using-a-duplex-wcf-service/</guid>
		<description><![CDATA[During a recent course with Stan James  we discussed how Silverlight 3 could be used with duplex services to push data from the server to the clients; I wanted to produce a simple example of how to do this.  Pushing data this way has a number &#8230; <a href="http://silverlightforbusiness.net/2009/06/23/pushing-data-from-the-server-to-silverlight-3-using-a-duplex-wcf-service/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=silverlightforbusiness.net&amp;blog=7274361&amp;post=58&amp;subd=silverlightforbusiness&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>During a recent course with <a href="http://www.stanjames.com/">Stan James </a> we discussed how Silverlight 3 could be used with duplex services to push data from the server to the clients; I wanted to produce a simple example of how to do this.  Pushing data this way has a number of benefits:</p>
<ul>
<li>You reduce the load on the server; instead of multiple clients polling the server periodically, we send the data from the server to the clients as and when we want to.</li>
<li>We can eliminate or reduce data lag in time sensitive applications – so as soon as we have the data available we can push it to Silverlight to react to.  This can be very important for applications that need to show data changes as they happen, such as trading systems or perhaps live statistics from sports events such as Formula 1.</li>
<li>All clients receive updates at the same time.</li>
</ul>
<p>There is a nice sample application from Mix09 available <a href="http://code.msdn.microsoft.com/silverlightws/Release/ProjectReleases.aspx?ReleaseId=2401">here</a> which creates a chat application as well as an example of a server push.  However I felt a simpler example would have a benefit to many trying to get to grips with this, together with a bit more explanation.  We will however use generic DuplexService class that is created in that project (it would make sense for a class like this to be available in the framework, or at least a template within Visual studio)</p>
<h2>What our application will do</h2>
<p>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. </p>
<h2>How the project fits together</h2>
<p><a href="http://silverlightforbusiness.files.wordpress.com/2009/06/image12.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" src="http://silverlightforbusiness.files.wordpress.com/2009/06/image_thumb11.png?w=487&#038;h=330" border="0" alt="image" width="487" height="330" /></a></p>
<h2>Creating the Sample</h2>
<h3>Creating the Project</h3>
<p>First create a new Silverlight project; let’s call it DuplexExample – ensure you include a Asp.Net Web Application with the default name (DuplexExample.Web) .  In the <strong>web site</strong> add a reference to the System.ServiceModel.PollingDuplex (make sure you get the correct one – the v3.0 one in the <strong>Server</strong> folder.)</p>
<p><a href="http://silverlightforbusiness.files.wordpress.com/2009/06/image30.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" src="http://silverlightforbusiness.files.wordpress.com/2009/06/image30_thumb.png?w=502&#038;h=218" border="0" alt="image" width="502" height="218" /></a></p>
<p>And in the <strong>Silverlight</strong> project also add a reference to System.ServiceModel.PollingDuplex (but this time in the <strong>Client</strong> folder):</p>
<p> <a href="http://silverlightforbusiness.files.wordpress.com/2009/06/image35.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" src="http://silverlightforbusiness.files.wordpress.com/2009/06/image35_thumb.png?w=500&#038;h=186" border="0" alt="image" width="500" height="186" /></a></p>
<p>Download the Duplex sample from <a title="http://code.msdn.microsoft.com/silverlightws/Release/ProjectReleases.aspx?ReleaseId=2401" href="http://code.msdn.microsoft.com/silverlightws/Release/ProjectReleases.aspx?ReleaseId=2401">http://code.msdn.microsoft.com/silverlightws/Release/ProjectReleases.aspx?ReleaseId=2401</a>, extract it and grab the <strong>DuplexService.cs</strong> file and drop it into your web site.</p>
<h3>Creating the Service</h3>
<p>Now <em>we could</em> add a Wcf service using Visual Studio templates, but that would actually create a lot of stuff we don’t need which we would just have to delete, so instead just add a text file but call it <strong>LiveDataService.svc</strong> . This will give us a blank file into which you can add the following:</p>
<p><span style="background:#ffee62;">&lt;%</span><span style="color:blue;">@ </span><span style="color:#a31515;">ServiceHost<br />
        </span><span style="color:red;">Language</span><span style="color:blue;">=&#8221;C#&#8221;<br />
        </span><span style="color:red;">Debug</span><span style="color:blue;">=&#8221;true&#8221;<br />
        </span><span style="color:red;">Factory</span><span style="color:blue;">=&#8221;DuplexExample.Web.LiveDataServiceFactory&#8221;<br />
        </span><span style="color:red;">Service</span><span style="color:blue;">=&#8221;DuplexExample.Web.LiveDataService&#8221;<br />
         </span><span style="background:#ffee62;">%&gt;</span></p>
<p><span style="background:#ffee62;"> </span></p>
<ol><a href="http://11011.net/software/vspaste"></a></ol>
<p>The only difference here to the contents of a normal svc file is the fact that there is no CodeBehind value specified and we have explicitly specified a Factory class.  (For more details on these options see here: <a title="http://msdn.microsoft.com/en-us/library/aa967286.aspx" href="http://msdn.microsoft.com/en-us/library/aa967286.aspx">http://msdn.microsoft.com/en-us/library/aa967286.aspx</a>) Since we have specified a LiveDataService for our service and LiveDataServiceFactory class that will be used to instantiate the factory service, we will need to go and create these. </p>
<p>But  before we can do that we need a DataContract class called <strong>LiveDataMessage – </strong>this is the simple class that our service will send to Silverlight.</p>
<p>[<span style="color:#2b91af;">DataContract</span>]<br />
<span style="color:blue;">public class </span><span style="color:#2b91af;">LiveDataMessage</span>: <span style="color:#2b91af;">DuplexMessage<br />
</span>{<br />
    [<span style="color:#2b91af;">DataMember</span>]<br />
    <span style="color:blue;">public int </span>Value { <span style="color:blue;">get</span>; <span style="color:blue;">set</span>; }<br />
    [<span style="color:#2b91af;">DataMember</span>]<br />
    <span style="color:blue;">public string </span>Description { <span style="color:blue;">get</span>; <span style="color:blue;">set</span>; }<br />
}</p>
<p>Ok so now we can create our “LiveDataService” – add a class to your web site called <strong>LiveDataService.cs</strong>  and add the following code.  This is fairly simple – we are using a Timer to send a message to all clients every 5 seconds:<br />
<span style="color:blue;"> </span></p>
<p><span style="color:blue;">using </span>System;<br />
<span style="color:blue;">using</span>Microsoft.Silverlight.Cdf.Samples.Duplex;<br />
<span style="color:blue;">using</span>System.Threading;</p>
<p><span style="color:blue;">namespace </span>DuplexExample.Web<br />
{<br />
    <span style="color:blue;">public class </span><span style="color:#2b91af;">LiveDataService </span>:<span style="color:#2b91af;">DuplexService<br />
   </span>{<br />
        <span style="color:#2b91af;">Timer </span>liveDataTimer;</p>
<p>        <span style="color:blue;">public </span>LiveDataService()<br />
        {<br />
            <span style="color:green;">//Set up a an update every 5 seconds<br />
           </span><span style="color:blue;">this</span>.liveDataTimer = <span style="color:blue;">new</span><span style="color:#2b91af;">Timer</span>(<span style="color:blue;">new</span><span style="color:#2b91af;">TimerCallback</span>(LiveDataUpdate),<span style="color:blue;">null</span>, 0, 5000);<br />
        }</p>
<p>        <span style="color:blue;">void </span>LiveDataUpdate(<span style="color:blue;">object</span>o)<br />
        {<br />
            <span style="color:#2b91af;">LiveDataMessage </span>liveDataMessage = <span style="color:blue;">new</span><span style="color:#2b91af;">LiveDataMessage</span>()<br />
            {<br />
                Description = <span style="color:#a31515;">&#8220;Live Data at &#8220;</span>+ <span style="color:#2b91af;">DateTime</span>.Now.ToLongTimeString(),<br />
                Value = <span style="color:blue;">new</span><span style="color:#2b91af;">Random</span>().Next(0, 100)<br />
            };<br />
            PushToAllClients(liveDataMessage);<br />
        }<br />
    }<br />
}</p>
<h3>The DuplexService Class</h3>
<p>You will notice that our LiveDataService inherits from the DuplexService we added to our project – this provides all the plumbing work for the duplex service:</p>
<p><a href="http://silverlightforbusiness.files.wordpress.com/2009/06/image41.png"><img style="border-bottom:0;border-left:0;display:inline;margin-left:0;border-top:0;margin-right:0;border-right:0;" title="image" src="http://silverlightforbusiness.files.wordpress.com/2009/06/image4_thumb.png?w=494&#038;h=243" border="0" alt="image" width="494" height="243" /></a></p>
<p>Crucially this class is also marked with the following attribute, meaning our service can keep track of clients that have connected, because it stays in memory and is not recycled&#8217;:</p>
<p><a href="http://silverlightforbusiness.files.wordpress.com/2009/06/image14.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" src="http://silverlightforbusiness.files.wordpress.com/2009/06/image14_thumb.png?w=488&#038;h=224" border="0" alt="image" width="488" height="224" /></a></p>
<p>Ok – so the DuplexService provides plenty of goodness for free, though there is one thing we need to alter in this file – you may have noticed already that it is not compiling.  Down at the bottom you will see a list of KnownTypes.  These related to the sample project you downloaded and not what we want.  We only have one specific KnownType (apart from the Connect and Disconnect) called LiveDataMessage. </p>
<p><a href="http://11011.net/software/vspaste"></a>So you need to make the following change to the DuplexService.cs file (at the bottom) :</p>
<p><a href="http://silverlightforbusiness.files.wordpress.com/2009/06/image39.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" src="http://silverlightforbusiness.files.wordpress.com/2009/06/image39_thumb.png?w=489&#038;h=255" border="0" alt="image" width="489" height="255" /></a></p>
<ul><a href="http://11011.net/software/vspaste"></a></ul>
<h3>The LiveDataServiceFactory class</h3>
<p>Finally we need to add the <strong>LiveDataServiceFactory </strong>class  &#8211; which inherits from the DataServiceFactory class in the DuplexService.cs file (and in fact that’s all it will do)</p>
<pre class="code"><span style="color:blue;">namespace </span>DuplexExample.Web
{
    <span style="color:blue;">public class </span><span style="color:#2b91af;">LiveDataServiceFactory </span>: <span style="color:#2b91af;">DuplexServiceFactory</span>&lt;<span style="color:#2b91af;">LiveDataService</span>&gt; {}

}</pre>
<p>If you go and look at the DuplexServiceFactory we are inheriting from (again in the DuplexService.cs file) you will see that it provides the configuration for the service with a custom binding (this is an alternative to providing configuration for doing this)</p>
<p><a href="http://silverlightforbusiness.files.wordpress.com/2009/06/image26.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" src="http://silverlightforbusiness.files.wordpress.com/2009/06/image26_thumb.png?w=492&#038;h=223" border="0" alt="image" width="492" height="223" /></a></p>
<p><a href="http://11011.net/software/vspaste"></a></p>
<h2>The Silverlight Project</h2>
<p>Make sure you can build your solution, then add a Service Reference from the Silverlight project to the LiveDataService you have created:</p>
<p><a href="http://silverlightforbusiness.files.wordpress.com/2009/06/image22.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" src="http://silverlightforbusiness.files.wordpress.com/2009/06/image22_thumb.png?w=515&#038;h=484" border="0" alt="image" width="515" height="484" /></a></p>
<p>I created a very simple UI – just a button and a ListBox shown below:</p>
<pre class="code"><span style="color:blue;">&lt;</span><span style="color:#a31515;">Grid </span><span style="color:red;">x</span><span style="color:blue;">:</span><span style="color:red;">Name</span><span style="color:blue;">="LayoutRoot" </span><span style="color:red;">Background</span><span style="color:blue;">="White"&gt;
    &lt;</span><span style="color:#a31515;">Grid.RowDefinitions</span><span style="color:blue;">&gt;
        &lt;</span><span style="color:#a31515;">RowDefinition </span><span style="color:red;">Height</span><span style="color:blue;">="75"/&gt;
        &lt;</span><span style="color:#a31515;">RowDefinition </span><span style="color:red;">Height</span><span style="color:blue;">="225"/&gt;
    &lt;/</span><span style="color:#a31515;">Grid.RowDefinitions</span><span style="color:blue;">&gt;
    &lt;</span><span style="color:#a31515;">Button </span><span style="color:red;">Content</span><span style="color:blue;">="Connect"             </span><span style="color:red;">Click</span><span style="color:blue;">="ButtonConnect_Click"             </span><span style="color:red;">x</span><span style="color:blue;">:</span><span style="color:red;">Name</span><span style="color:blue;">="ButtonConnect" </span><span style="color:red;">Margin</span><span style="color:blue;">="10"&gt;&lt;/</span><span style="color:#a31515;">Button</span><span style="color:blue;">&gt;
    &lt;</span><span style="color:#a31515;">ListBox </span><span style="color:red;">Grid.Row</span><span style="color:blue;">="1"             </span><span style="color:red;">ScrollViewer.VerticalScrollBarVisibility</span><span style="color:blue;">="Visible"              </span><span style="color:red;">x</span><span style="color:blue;">:</span><span style="color:red;">Name</span><span style="color:blue;">="ListBox1"&gt;&lt;/</span><span style="color:#a31515;">ListBox</span><span style="color:blue;">&gt;
&lt;/</span><span style="color:#a31515;">Grid</span><span style="color:blue;">&gt;</span></pre>
<p><a href="http://11011.net/software/vspaste"></a><a href="http://11011.net/software/vspaste"></a></p>
<p><img style="display:inline;border-width:0;" title="image" src="http://silverlightforbusiness.files.wordpress.com/2009/06/image43.png?w=514&#038;h=386" border="0" alt="image" width="514" height="386" /></p>
<p>Here is all the code in MainPage.Xaml.cs.  Take a look at it here then we’ll discuss it:</p>
<pre class="code"><span style="color:blue;">public partial class </span><span style="color:#2b91af;">MainPage </span>: <span style="color:#2b91af;">UserControl
</span>{
    <span style="color:#2b91af;">DuplexServiceClient </span>receiver;
    <span style="color:#2b91af;">ObservableCollection</span>&lt;<span style="color:blue;">string</span>&gt; liveDataMessages =                                 <span style="color:blue;">new </span><span style="color:#2b91af;">ObservableCollection</span>&lt;<span style="color:blue;">string</span>&gt;();
    <span style="color:#2b91af;">CustomBinding </span>binding = <span style="color:blue;">new </span><span style="color:#2b91af;">CustomBinding</span>(
                                <span style="color:blue;">new </span><span style="color:#2b91af;">PollingDuplexBindingElement</span>(),
                                <span style="color:blue;">new </span><span style="color:#2b91af;">BinaryMessageEncodingBindingElement</span>(),
                                <span style="color:blue;">new </span><span style="color:#2b91af;">HttpTransportBindingElement</span>()
                                );

    <span style="color:blue;">public </span>MainPage()
    {
        InitializeComponent();

        ListBox1.ItemsSource = liveDataMessages;

        <span style="color:green;">//make sure the endpoint address is correct
        </span>receiver = <span style="color:blue;">new </span><span style="color:#2b91af;">DuplexServiceClient</span>(binding,                  <span style="color:blue;">new </span><span style="color:#2b91af;">EndpointAddress</span>(<span style="color:#a31515;">"http://localhost:6719/LiveDataService.svc"</span>));
        receiver.SendToClientReceived += (sender, e) =&gt;
            {
                <span style="color:blue;">if </span>(e.msg <span style="color:blue;">is </span><span style="color:#2b91af;">LiveDataMessage</span>)
                {
                    <span style="color:#2b91af;">LiveDataMessage </span>msg = (<span style="color:#2b91af;">LiveDataMessage</span>)e.msg;
                    liveDataMessages.Add(<span style="color:blue;">string</span>.Format(<span style="color:#a31515;">"{0}.                      Value = {1}"</span>, msg.Description, msg.Value));
                }
            };
    }

    <span style="color:blue;">bool </span>connected = <span style="color:blue;">false</span>;
    <span style="color:blue;">private void </span>ButtonConnect_Click(<span style="color:blue;">object </span>sender, <span style="color:#2b91af;">RoutedEventArgs </span>e)
    {
        <span style="color:blue;">if </span>(connected)
        {
            Disconnect();
        }
        <span style="color:blue;">else
        </span>{
            Connect();
        }
    }

    <span style="color:blue;">private void </span>Connect()
    {
        ButtonConnect.Content = <span style="color:#a31515;">"Connecting..."</span>;
        receiver.SendToServiceCompleted += (sender, e) =&gt;
        {
            ButtonConnect.Content = <span style="color:#a31515;">"Connected (click to disconnect)"</span>;
            connected = <span style="color:blue;">true</span>;
        };
        receiver.SendToServiceAsync(<span style="color:blue;">new </span><span style="color:#2b91af;">ConnectMessage</span>());
    }

    <span style="color:blue;">private void </span>Disconnect()
    {
        ButtonConnect.Content = <span style="color:#a31515;">"Disconnecting..."</span>;
        receiver.SendToServiceCompleted += (sender, e) =&gt;
            {
                ButtonConnect.Content = <span style="color:#a31515;">"Disconnected (click to connect)"</span>;
                connected = <span style="color:blue;">false</span>;
            };
        receiver.SendToServiceAsync(<span style="color:blue;">new </span><span style="color:#2b91af;">DisconnectMessage</span>());
    }

}</pre>
<p><a href="http://11011.net/software/vspaste"></a></p>
<p>At the top of this code, we declare 3 variables: the DuplexServiceClient,a  CustomBinding (which matched the binding of the service we created on the server) and an ObservableCollection to store the messages we get from the server.  We instantiate the DuplexServiceClient in the class constructor using the custom binding and and endpoint (make sure this is the correct address for your service) and wire up the SendToClientReceived event which is where we add the messages we get from the server to the observableCollection (which in turn shows them in the ListBox)</p>
<p>However we also need to provide a Connect method (which sends a ConnectMessage to the server) – this is to essentially to let the Duplex service on the server know we are here, and allow it to keep track us via a Session ID.  You can see this in DuplexService.cs file as shown below (line 133):</p>
<p><a href="http://silverlightforbusiness.files.wordpress.com/2009/06/image47.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" src="http://silverlightforbusiness.files.wordpress.com/2009/06/image47_thumb.png?w=494&#038;h=147" border="0" alt="image" width="494" height="147" /></a></p>
<p>The disconnect method does the reverse by sending a DisconnectMessage to the server which reacts like this (removing the client from it’s tracked session id’s)</p>
<p><a href="http://silverlightforbusiness.files.wordpress.com/2009/06/image51.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" src="http://silverlightforbusiness.files.wordpress.com/2009/06/image51_thumb.png?w=494&#038;h=53" border="0" alt="image" width="494" height="53" /></a></p>
<h2>Testing Your Application<a href="http://silverlightforbusiness.files.wordpress.com/2009/06/image55.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" src="http://silverlightforbusiness.files.wordpress.com/2009/06/image55_thumb.png?w=491&#038;h=643" border="0" alt="image" width="491" height="643" /></a></h2>
<p>Press F5 to run the application, then click the Connect  button  &#8211; you will see messages sent to Silverlight from the Server every 5 seconds.  To make it more interesting, start a second browser instance and run the same application and connect that too.  You will see both clients being updated at the exactly the same time.</p>
<p><a href="http://silverlightforbusiness.files.wordpress.com/2009/06/image11.png"></a> </p>
<p>Hope this is of use.</p>
<p>You can download the source code from here: <a title="http://cid-fb8b852ef1ab0b35.skydrive.live.com/self.aspx/SampleCode/DuplexExample.zip" href="http://cid-fb8b852ef1ab0b35.skydrive.live.com/self.aspx/SampleCode/DuplexExample.zip">http://cid-fb8b852ef1ab0b35.skydrive.live.com/self.aspx/SampleCode/DuplexExample.zip</a></p>
<p>Cheers</p>
<p>Ian</p>
<div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:ad1521d5-2591-4426-8259-26895c1d0b89" class="wlWriterEditableSmartContent" style="display:inline;float:none;margin:0;padding:0;">Technorati Tags: <a rel="tag" href="http://technorati.com/tags/Silverlight">Silverlight</a>,<a rel="tag" href="http://technorati.com/tags/Duplex">Duplex</a>,<a rel="tag" href="http://technorati.com/tags/WCF">WCF</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/silverlightforbusiness.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/silverlightforbusiness.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/silverlightforbusiness.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/silverlightforbusiness.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/silverlightforbusiness.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/silverlightforbusiness.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/silverlightforbusiness.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/silverlightforbusiness.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/silverlightforbusiness.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/silverlightforbusiness.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/silverlightforbusiness.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/silverlightforbusiness.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/silverlightforbusiness.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/silverlightforbusiness.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=silverlightforbusiness.net&amp;blog=7274361&amp;post=58&amp;subd=silverlightforbusiness&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://silverlightforbusiness.net/2009/06/23/pushing-data-from-the-server-to-silverlight-3-using-a-duplex-wcf-service/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2b17c2fe571c44c0f3c00b3610b692f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ianblackburn</media:title>
		</media:content>

		<media:content url="http://silverlightforbusiness.files.wordpress.com/2009/06/image_thumb11.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://silverlightforbusiness.files.wordpress.com/2009/06/image30_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://silverlightforbusiness.files.wordpress.com/2009/06/image35_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://silverlightforbusiness.files.wordpress.com/2009/06/image4_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://silverlightforbusiness.files.wordpress.com/2009/06/image14_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://silverlightforbusiness.files.wordpress.com/2009/06/image39_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://silverlightforbusiness.files.wordpress.com/2009/06/image26_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://silverlightforbusiness.files.wordpress.com/2009/06/image22_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://silverlightforbusiness.files.wordpress.com/2009/06/image43.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://silverlightforbusiness.files.wordpress.com/2009/06/image47_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://silverlightforbusiness.files.wordpress.com/2009/06/image51_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://silverlightforbusiness.files.wordpress.com/2009/06/image55_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
	</channel>
</rss>
