<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>YeahTrivia: Creating a Trivia Server/Client with WPF and WCF</title><link>http://blogs.msdn.com/coding4fun/archive/2007/10/29/5773166.aspx</link><description>In this article I'll take you along for the ride as I attack the learning curve required to create a fun, interactive application using both the Microsoft Windows Presentation Foundation (WPF) and the Windows Communication Foundation (WCF). Afterwards,</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>the bright lights : Coding4Fun: YeahTrivia client &amp;amp; server using WCF &amp;amp; WPF</title><link>http://blogs.msdn.com/coding4fun/archive/2007/10/29/5773166.aspx#5774376</link><pubDate>Tue, 30 Oct 2007 04:48:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5774376</guid><dc:creator>the bright lights : Coding4Fun: YeahTrivia client &amp; server using WCF &amp; WPF</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blogs.claritycon.com/blogs/steve_holstad/archive/2007/10/29/3403.aspx"&gt;http://blogs.claritycon.com/blogs/steve_holstad/archive/2007/10/29/3403.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>YeahTrivia: Creating a Trivia Server/Client with WPF and WCF</title><link>http://blogs.msdn.com/coding4fun/archive/2007/10/29/5773166.aspx#5785771</link><pubDate>Tue, 30 Oct 2007 23:32:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5785771</guid><dc:creator>Gasper's Tech Corner</dc:creator><description>&lt;p&gt;If you want a good sample of building applications with WPF &amp;amp;amp; WCF give this a shot: &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/coding4fun/archive/2007/10/29/5773166.asp"&gt;http://blogs.msdn.com/coding4fun/archive/2007/10/29/5773166.asp&lt;/a&gt;...&lt;/p&gt;
</description></item><item><title>aamunkuiskaus &amp;raquo; YeahTrivia: Creating a Trivia Server/Client with WPF and WCF</title><link>http://blogs.msdn.com/coding4fun/archive/2007/10/29/5773166.aspx#6527577</link><pubDate>Mon, 26 Nov 2007 11:33:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6527577</guid><dc:creator>aamunkuiskaus » YeahTrivia: Creating a Trivia Server/Client with WPF and WCF</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://aamunkuiskaus.consulting23.info/2007/10/29/yeahtrivia-creating-a-trivia-serverclient-with-wpf-and-wcf/"&gt;http://aamunkuiskaus.consulting23.info/2007/10/29/yeahtrivia-creating-a-trivia-serverclient-with-wpf-and-wcf/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: YeahTrivia: Creating a Trivia Server/Client with WPF and WCF</title><link>http://blogs.msdn.com/coding4fun/archive/2007/10/29/5773166.aspx#8688878</link><pubDate>Fri, 04 Jul 2008 14:56:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8688878</guid><dc:creator>jbmixed</dc:creator><description>&lt;p&gt;cool, but the download links are broken!&lt;/p&gt;</description></item><item><title>re: YeahTrivia: Creating a Trivia Server/Client with WPF and WCF</title><link>http://blogs.msdn.com/coding4fun/archive/2007/10/29/5773166.aspx#8709776</link><pubDate>Wed, 09 Jul 2008 00:01:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8709776</guid><dc:creator>Coding4Fun</dc:creator><description>&lt;p&gt;@jbmixed: &amp;nbsp;On it.&lt;/p&gt;
</description></item><item><title>re: YeahTrivia: Creating a Trivia Server/Client with WPF and WCF</title><link>http://blogs.msdn.com/coding4fun/archive/2007/10/29/5773166.aspx#8716084</link><pubDate>Thu, 10 Jul 2008 11:56:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8716084</guid><dc:creator>Coding4Fun</dc:creator><description>&lt;p&gt;@jbmixed: link fixed. &amp;nbsp;Thanks for the heads up.&lt;/p&gt;
</description></item><item><title>re: YeahTrivia: Creating a Trivia Server/Client with WPF and WCF</title><link>http://blogs.msdn.com/coding4fun/archive/2007/10/29/5773166.aspx#8853976</link><pubDate>Wed, 13 Aug 2008 01:11:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8853976</guid><dc:creator>Nuno</dc:creator><description>&lt;p&gt;If i try to run 2 clients in the same machine (and the server, naturally), the second client cannot register itsel, and i receive a framework error. Wasn't it supposed to work with as many clients as wished?&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;</description></item><item><title>re: YeahTrivia: Creating a Trivia Server/Client with WPF and WCF</title><link>http://blogs.msdn.com/coding4fun/archive/2007/10/29/5773166.aspx#8854278</link><pubDate>Wed, 13 Aug 2008 02:06:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8854278</guid><dc:creator>Nuno</dc:creator><description>&lt;p&gt;Found a workaround:&lt;/p&gt;
&lt;p&gt;In the client code:&lt;/p&gt;
&lt;p&gt; SyncContext = SynchronizationContext.Current;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;InstanceContext instanceContext = new InstanceContext(this);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ServiceProxyInstance = new ServiceProxy(instanceContext);&lt;/p&gt;
&lt;p&gt;I added these lines:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WSDualHttpBinding binding = (WSDualHttpBinding)ServiceProxyInstance.Endpoint.Binding;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string clientCallbackAddress = binding.ClientBaseAddress.AbsoluteUri;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;clientCallbackAddress += Guid.NewGuid().ToString();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;binding.ClientBaseAddress = new Uri(clientCallbackAddress);&lt;/p&gt;
&lt;p&gt;And now it works!&lt;/p&gt;
&lt;p&gt;What do you think?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Nuno&lt;/p&gt;</description></item><item><title>re: YeahTrivia: Creating a Trivia Server/Client with WPF and WCF</title><link>http://blogs.msdn.com/coding4fun/archive/2007/10/29/5773166.aspx#8860361</link><pubDate>Wed, 13 Aug 2008 22:25:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8860361</guid><dc:creator>Coding4Fun</dc:creator><description>&lt;p&gt;Thanks Nuno!&lt;/p&gt;
</description></item><item><title>re: YeahTrivia: Creating a Trivia Server/Client with WPF and WCF</title><link>http://blogs.msdn.com/coding4fun/archive/2007/10/29/5773166.aspx#9850368</link><pubDate>Tue, 28 Jul 2009 01:26:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9850368</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;Use of .vdproj file seems to keep source from opening with VS Express 2008. Any thoughts?&lt;/p&gt;</description></item><item><title>re: YeahTrivia: Creating a Trivia Server/Client with WPF and WCF</title><link>http://blogs.msdn.com/coding4fun/archive/2007/10/29/5773166.aspx#9916928</link><pubDate>Tue, 03 Nov 2009 19:40:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9916928</guid><dc:creator>Johny79</dc:creator><description>&lt;P&gt;How can I get this project to run on another machine and have the server on another? I am getting an error that says:&lt;/P&gt;
&lt;P&gt;"Inconceivable! An error has occurred. The caller was not authenticated by the service"&lt;/P&gt;
&lt;P&gt;Help! I have a similar project like your and am running into issues.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description></item><item><title>re: YeahTrivia: Creating a Trivia Server/Client with WPF and WCF</title><link>http://blogs.msdn.com/coding4fun/archive/2007/10/29/5773166.aspx#9917609</link><pubDate>Wed, 04 Nov 2009 22:56:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9917609</guid><dc:creator>Coding4Fun</dc:creator><description>&lt;p&gt;@Johny79, contacting the author for advise on this.&lt;/p&gt;
</description></item><item><title>re: YeahTrivia: Creating a Trivia Server/Client with WPF and WCF</title><link>http://blogs.msdn.com/coding4fun/archive/2007/10/29/5773166.aspx#9931735</link><pubDate>Thu, 03 Dec 2009 01:48:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9931735</guid><dc:creator>Coding4Fun</dc:creator><description>&lt;p&gt;@Johny79: &amp;nbsp;This is the response I got:&lt;/p&gt;
&lt;p&gt;The project can run across multiple machines, as I tested this before publishing; judging from his comment he appears to have the same issue with a different project as well. &amp;nbsp;There are quite a few permissions/IIS/WCF security issues that may need to be checked within his environment to allow WCF communication to work. &amp;nbsp;if you receive more detail on issue we can think on it. I'd start with making sure a basic web service can be hosted and viewed from another machine, and then run Fiddler to determine if any errors are blocking communication. &amp;nbsp;I would also make sure the port number used is not being blocked along the way.&lt;/p&gt;
</description></item></channel></rss>