<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/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>Programming with .NET - General</title><link>http://forums.silverlight.net/forums/17.aspx</link><description>General discussions around authoring Silverlight .NET applications.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: Problem with the latest tutorial (WCF WebService + LINQ + SQL)</title><link>http://forums.silverlight.net/forums/thread/45271.aspx</link><pubDate>Wed, 09 Apr 2008 21:49:46 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:45271</guid><dc:creator>Maciek</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/45271.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=45271</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Weird, I&amp;#39;ve compiled the whole thing again and it worked. Can anyone tell me what could be the reason to the ServiceClient() constructor returning a null in the first place ? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem with the latest tutorial (WCF WebService + LINQ + SQL)</title><link>http://forums.silverlight.net/forums/thread/45223.aspx</link><pubDate>Wed, 09 Apr 2008 17:24:24 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:45223</guid><dc:creator>Maciek</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/45223.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=45223</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi all,&lt;/p&gt;&lt;p&gt;I believe I&amp;#39;ve managed to follow everything that has been said in the tutorial. When I&amp;#39;ve run the application, I&amp;#39;ve a single character in teh textbox and pressed the &amp;quot;Search&amp;quot; button. After that the browser&amp;#39;s window went white. I&amp;#39;ve restarted the whole thing in debug mode and it turned out that the problem came from here :&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote&gt;&lt;font color="#cc0000"&gt;void Search_Click(object sender, RoutedEventArgs e)&lt;br /&gt;{&lt;br /&gt;&lt;i&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; ServiceReference1.Service1Client webService = &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; new SQLData.ServiceReference1.Service1Client();&lt;/b&gt;&lt;/i&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;font color="#cc0000"&gt;&amp;nbsp; webService.GetCustomersByLastNameCompleted += &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; new EventHandler&amp;lt;SQLData.ServiceReference1.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GetCustomersByLastNameCompletedEventArgs&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (webService_GetCustomersByLastNameCompleted); &lt;/font&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;font color="#cc0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; webService.GetCustomersByLastNameAsync(LastName.Text); &lt;br /&gt;}&lt;/font&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote&gt;The bolded line of code returns a &lt;u&gt;&lt;i&gt;null&lt;/i&gt;&lt;/u&gt;&amp;nbsp; for some reason and thus is unable to run further. Can anyone suggest a solution to this ?&lt;/blockquote&gt;&lt;blockquote&gt;PS. As Jesse wrote in the tutorial, I&amp;#39;ve enabled the serialisation on the *.dbml&amp;#39;s datacontext and I&amp;#39;ve modified the entry in web.config to use &amp;quot;basicHttpBinding&amp;quot; . Have I missed something ?&lt;/blockquote&gt;&lt;blockquote&gt;&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote&gt;Sincirely&amp;nbsp;&lt;/blockquote&gt;</description></item></channel></rss>