<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Push feature on Winforms</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Push feature on Winforms</description>
  <pubDate>Wed, 13 May 2026 13:59:16 -700</pubDate>
  <lastBuildDate>Mon, 14 Nov 2011 15:22:04 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2924</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Push feature on Winforms : Hi Lawrence,To use Push in DevForce...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=12057#12057</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2924<br /><strong>Posted:</strong> 14-Nov-2011 at 3:22pm<br /><br /><p>Hi Lawrence,<br></p><div>To use Push in DevForce you do have to tell the server that you want it, so that it sets up the appropriate endpoint(s) to listen on. You can do this by adding one simple setting within the ideablade.configuration section of the web.config:</div><p>&nbsp; &lt;notificationService enabled="true" /&gt;</p><p>This is sufficient to allow DevForce to set up the Push service with all defaults in place.</p><p>On the client side in a WinClient application you also have to provide the client-side port which will be "listening" for messages from the server.&nbsp; You do this in your app.config as follows (port 9012 is just used as an example):</p><p>&nbsp; &lt;notificationService clientPort="9012" /&gt;</p><p>The <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/code-sample-push-notificati&#111;n" target="_blank">WPF sample</a> shows this configuration and you can find out more <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/push-notificati&#111;n#HC&#111;nfigurethepushservice" target="_blank">here</a>.</p><p>&nbsp;</p>]]>
   </description>
   <pubDate>Mon, 14 Nov 2011 15:22:04 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=12057#12057</guid>
  </item> 
  <item>
   <title>Push feature on Winforms : Thanks Lawrence,I&amp;#039;m taking...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=12053#12053</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 2924<br /><strong>Posted:</strong> 14-Nov-2011 at 8:57am<br /><br />Thanks Lawrence,<div><br></div><div>I'm taking a look at you sample and will follow up shortly.</div><div><br></div><div>Silvio.</div>]]>
   </description>
   <pubDate>Mon, 14 Nov 2011 08:57:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=12053#12053</guid>
  </item> 
  <item>
   <title>Push feature on Winforms : Hi Silvio,I&amp;#039;m still receiving...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=12049#12049</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1247" rel="nofollow">wackywhizz</a><br /><strong>Subject:</strong> 2924<br /><strong>Posted:</strong> 14-Nov-2011 at 2:12am<br /><br />Hi Silvio,<div><br></div><div>I'm still receiving the errors. I've attached a new one I created trying to fix it by creating an all new project. Still I seem to get the same error. I've attached the project together with a screenshot of the exception I've been experiencing.</div><div><br></div><div><img src="uploads/1247/excepti&#111;n.png" border="0" /><br></div><div><br></div><div><a href="uploads/1247/PushServerClient.rar" target="_blank">uploads/1247/PushServerClient.rar</a><br></div><div><br></div><div>Thanks,</div><div>Lawrence</div>]]>
   </description>
   <pubDate>Mon, 14 Nov 2011 02:12:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=12049#12049</guid>
  </item> 
  <item>
   <title>Push feature on Winforms :  Hi Lawrence,I haven&amp;#039;t added...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=11652#11652</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 2924<br /><strong>Posted:</strong> 09-Sep-2011 at 8:58am<br /><br />Hi Lawrence,<div><br></div><div>I haven't added any additional assemblies.</div><div><br></div><div>I'm sending your sample back with the changes I made, so you can take a closer look. (note that I changed the connection string to match my datasource)</div><div><br></div><div>You can download it at&nbsp;<a href="uploads/892/Win&#070;ormsPush.zip" target="_blank">uploads/892/WinFormsPush.zip</a></div><div><br></div><div>Regards,</div><div>&nbsp; &nbsp;Silvio.</div><span style="font-size:10px"><br /><br />Edited by sbelini - 09-Sep-2011 at 8:59am</span>]]>
   </description>
   <pubDate>Fri, 09 Sep 2011 08:58:58 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=11652#11652</guid>
  </item> 
  <item>
   <title>Push feature on Winforms :  Hi Silvio,I already have the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=11651#11651</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1247" rel="nofollow">wackywhizz</a><br /><strong>Subject:</strong> 2924<br /><strong>Posted:</strong> 08-Sep-2011 at 7:39pm<br /><br /><span ="apple-style-span"="" style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div style=": rgb255, 255, 255; margin-left: 1px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb0, 0, 0; font-size: 12px; line-height: 1.4; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; -: n&#111;ne; ">Hi Silvio,<div><br></div><div>I already have the notification service enabled and I did what you said about using the correct signature of the ServerNotifyDelegate, but I still experience the exception has been thrown error.. Is there maybe any additional assemblies that I need to add into my project?</div><div><br></div><div>Thanks,</div><div>Lawrence</div></div></span><span style="font-size:10px"><br /><br />Edited by wackywhizz - 08-Sep-2011 at 8:51pm</span>]]>
   </description>
   <pubDate>Thu, 08 Sep 2011 19:39:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=11651#11651</guid>
  </item> 
  <item>
   <title>Push feature on Winforms : Lawrence,The issue isthat the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=11649#11649</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 2924<br /><strong>Posted:</strong> 08-Sep-2011 at 6:59pm<br /><br />Lawrence,<div><br></div><div>The issue is&nbsp;that the method signature does not conform to the <i>ServerNotifyDelegate</i>.</div><div><br></div><div>You have:</div><div><br></div><div><div><i>&nbsp; &#091;AllowRpc&#093;</i></div><div><i>&nbsp; public static void NewMessage(Guid key, INotificationManager mMgr, <b>DAL.DFModel</b> eMgr)</i></div></div><div><br></div><div>but you should have instead:</div><div><br></div><div><div><i>&nbsp; &#091;AllowRpc&#093;</i></div><div><i>&nbsp; public static void NewMessage(Guid key, INotificationManager mMgr, <b>EntityManager </b>eMgr)</i></div></div><div><br></div><div><br></div><div>You can later create a sub-typed entity manager:</div><div><br></div><div><i>&nbsp; entityMgr = new DFModel(eMgr);</i></div><div><br></div><div><br></div><div>Also, be sure to enable the notificationService in the server (i.e. web.config file):</div><div><br></div><div><i>&lt;notificationService enabled="true" /&gt;</i></div><div><br></div><div><br></div><div>Regards,</div><div>&nbsp; &nbsp;Silvio.</div>]]>
   </description>
   <pubDate>Thu, 08 Sep 2011 18:59:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=11649#11649</guid>
  </item> 
  <item>
   <title>Push feature on Winforms : Hi Lawrence,I&amp;#039;m taking a...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=11648#11648</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 2924<br /><strong>Posted:</strong> 08-Sep-2011 at 5:26pm<br /><br />Hi Lawrence,<div><br></div><div>I'm taking a look at your project and will follow up shortly.</div><div><br></div><div>Silvio.</div>]]>
   </description>
   <pubDate>Thu, 08 Sep 2011 17:26:47 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=11648#11648</guid>
  </item> 
  <item>
   <title>Push feature on Winforms : Hi Silvio,I read the documents...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=11635#11635</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1247" rel="nofollow">wackywhizz</a><br /><strong>Subject:</strong> 2924<br /><strong>Posted:</strong> 07-Sep-2011 at 3:24am<br /><br /><span ="Apple-style-span" style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div style=": rgb255, 255, 255; margin-left: 1px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb0, 0, 0; font-size: 12px; line-height: 1.4; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; -: n&#111;ne; ">Hi Silvio,<div><br></div><div>I read the documents and also downloaded the SL sample code for the push service. I then tried to create a winform counterpart and I'm having a "Exception has been thrown by the target of an invocation" error. Can you help me with this..?</div><div><br></div><div>Here is my project file:&nbsp;<a href="http://dl.dropbox.com/u/40770720/Win&#070;ormsPush.rar" target="_blank">http://dl.dropbox.com/u/40770720/WinFormsPush.rar</a></div><div>Here is a screenshot of my error:&nbsp;<a href="http://dl.dropbox.com/u/40770720/excepti&#111;n.png" target="_blank">http://dl.dropbox.com/u/40770720/exception.png</a></div><div><br></div><div>Thanks,</div><div>Lawrence</div></div></span>]]>
   </description>
   <pubDate>Wed, 07 Sep 2011 03:24:09 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=11635#11635</guid>
  </item> 
  <item>
   <title>Push feature on Winforms :   Hi Lawrence,You could use...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=11536#11536</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 2924<br /><strong>Posted:</strong> 25-Aug-2011 at 5:21pm<br /><br />Hi Lawrence,<div>&nbsp;</div><div>You could use the DomainModel project if you are simply trying to create a sample using NorthwindIB.</div><div>&nbsp;</div><div>If you take a closer look, the push notification feature is very much alike in both SL and WPF samples.</div><div>&nbsp;</div><div>Basically, all you need is:</div><div>1- Define a push service; (i.e. use &#091;AllowRpc&#093; and method signature conforming to ServerNotifyDelegate)</div><div>2- Subscribe to it; (RegisterCallback method)</div><div>3- Configure it. (in the server and client config files)</div><div>&nbsp;</div><div>You will find detailed information about the Push notification in the <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/push-notificati&#111;n" target="_blank">DevForce Resource Center</a>.</div><div>&nbsp;</div><div>Silvio.</div>]]>
   </description>
   <pubDate>Thu, 25 Aug 2011 17:21:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=11536#11536</guid>
  </item> 
  <item>
   <title>Push feature on Winforms : Hi Silvio,Can you point me to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=11533#11533</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1247" rel="nofollow">wackywhizz</a><br /><strong>Subject:</strong> 2924<br /><strong>Posted:</strong> 25-Aug-2011 at 4:57pm<br /><br />Hi Silvio,<div><br></div><div>Can you point me to the right direction as to how do I start trying this feature out..? I have copies of both sample codes for Silverlight and WPF but I was thinking of creating a win app from scratch? Would you recommend me to use some of the existing projects from the sample code I downloaded?</div><div><br></div><div>Thanks,</div><div>Lawrence</div>]]>
   </description>
   <pubDate>Thu, 25 Aug 2011 16:57:18 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=11533#11533</guid>
  </item> 
  <item>
   <title>Push feature on Winforms : Hi wackywhizz,Although there isn&amp;#039;t...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=11523#11523</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 2924<br /><strong>Posted:</strong> 25-Aug-2011 at 9:42am<br /><br />Hi wackywhizz,<div><br></div><div>Although there isn't an specific Winforms sample using Push notification, the concept is the same and you should be able to implement it in a Winforms app.</div><div><br></div><div>Silvio.</div>]]>
   </description>
   <pubDate>Thu, 25 Aug 2011 09:42:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=11523#11523</guid>
  </item> 
  <item>
   <title>Push feature on Winforms : I&amp;#039;ve seen samples and codes...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=11521#11521</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1247" rel="nofollow">wackywhizz</a><br /><strong>Subject:</strong> 2924<br /><strong>Posted:</strong> 25-Aug-2011 at 3:14am<br /><br />I've seen samples and codes about the PUSH feature but they're just on WPF and SL. Is it just because there are just no samples available for Winforms or is it that this PUSH feature is not available on Winforms?]]>
   </description>
   <pubDate>Thu, 25 Aug 2011 03:14:13 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2924&amp;PID=11521#11521</guid>
  </item> 
 </channel>
</rss>