<?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: Re: Re: Re: Re: Re: RC0 - Having Trouble creating Proxy for Silverlight-enabled WFC Service.</title><link>http://forums.silverlight.net/forums/thread/116160.aspx</link><pubDate>Thu, 23 Oct 2008 17:00:15 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:116160</guid><dc:creator>Ed Smith</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/116160.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=116160</wfw:commentRss><description>&lt;p&gt;Thanks. I got your repro and we are investigating it.&lt;/p&gt;
&lt;p&gt;The trouble happens when we try to load the types from the dll,&amp;nbsp; we are doing this because you have type sharing turned on (we search your projects assemblies for types that match the types in your service).&amp;nbsp; If you turn off type sharing (in the advanced dialog) or just uncheck&amp;nbsp;this dll, then you will not run into this problem.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Ed Smith&lt;/p&gt;
&lt;p&gt;Microsoft Visual Studio&lt;/p&gt;</description></item><item><title>Re: Re: Re: Re: Re: RC0 - Having Trouble creating Proxy for Silverlight-enabled WFC Service.</title><link>http://forums.silverlight.net/forums/thread/114383.aspx</link><pubDate>Tue, 21 Oct 2008 14:05:58 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:114383</guid><dc:creator>fkhoury</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/114383.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=114383</wfw:commentRss><description>&lt;p&gt;Problem Resolved. &lt;/p&gt;
&lt;p&gt;After a lot of trial and errors, i found the cause of the crash. it is weird but true, once you add a reference to C1.Silverlight.RichTextBox, VS.net will crash on generating a WCF proxy. &lt;br /&gt;Everytime, i want to update the proxy, i remove the reference to this DLL and then add it again before compiling the project.&lt;/p&gt;
&lt;p&gt;you can find this DLL here &lt;a href="http://forums.componentone.com/CS/forums/storage/78/209781/C1.Silverlight%20M5%20Preview%20(RC0%20compatbile%20-%20unstable%20version).zip"&gt;http://forums.componentone.com/CS/forums/storage/78/209781/C1.Silverlight%20M5%20Preview%20(RC0%20compatbile%20-%20unstable%20version).zip&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Re: Re: Re: RC0 - Having Trouble creating Proxy for Silverlight-enabled WFC Service.</title><link>http://forums.silverlight.net/forums/thread/114147.aspx</link><pubDate>Tue, 21 Oct 2008 09:16:59 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:114147</guid><dc:creator>fkhoury</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/114147.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=114147</wfw:commentRss><description>&lt;p&gt;Hi Ed,&lt;/p&gt;
&lt;p&gt;I tried the scenario and it worked, althougth i got a message when creating the silverlight enabled WCF Service. it said &amp;quot;Object reference not set as an instance of an object&amp;quot;, but then the proxy was genrated successfully and i could call it.&lt;/p&gt;
&lt;p&gt;I installed VS,TFS,SP1, Silverlight in this order. On one machine, i have uninstalled everything even VS, and then reinstalled it on another drive. but on the second machine i just unistalled the old version of silverlight. Both machines have the same problem.&lt;/p&gt;
&lt;p&gt;The Breaking News is that today i tried to generate the proxy from another silverlight project in the same solution and it worked! The first silverlight project still breaks on generating the proxy.&amp;nbsp;Now, This looks more like a csproj problem rather than an installation problem.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;&lt;strong&gt;Fadi KHOURY&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Re: Re: Re: Re: RC0 - Having Trouble creating Proxy for Silverlight-enabled WFC Service.</title><link>http://forums.silverlight.net/forums/thread/112138.aspx</link><pubDate>Fri, 17 Oct 2008 18:56:41 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:112138</guid><dc:creator>Ed Smith</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/112138.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=112138</wfw:commentRss><description>&lt;p&gt;Thanks Fadi,&lt;/p&gt;
&lt;p&gt;Try out the scenario I sent, and see if that&amp;nbsp;works for you.&amp;nbsp; I&amp;#39;m trying to figure out if somehow you got a bad install or if this is just a bug in the product code.&amp;nbsp; How did you install VS, tfs, sp1, and silverlight (In what order).&amp;nbsp; Did you uninstall anything including any prior versions.&lt;/p&gt;
&lt;p&gt;You can email me the dump for the crash and we can take a look.&amp;nbsp; Can you try to run the web service in the browser(right click on the svc in solution explorer and choose view in browser, then&amp;nbsp;when IE comes up, click on the link to the&amp;nbsp;?wsdl file)&amp;nbsp;and include the wsdl file in the email.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;You can also try to generate the proxy using slsvcutil.exe.&amp;nbsp; This is the command line tool that does what the add service reference dialog does in VS.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Ed Smith&lt;/p&gt;
&lt;p&gt;Microsoft Visual Studio team&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: Re: Re: RC0 - Having Trouble creating Proxy for Silverlight-enabled WFC Service.</title><link>http://forums.silverlight.net/forums/thread/112100.aspx</link><pubDate>Fri, 17 Oct 2008 18:03:48 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:112100</guid><dc:creator>fkhoury</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/112100.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=112100</wfw:commentRss><description>&lt;p&gt;Hi Ed,&lt;/p&gt;
&lt;p&gt;Im not able to generate the proxy anymore (event with an empty reference.cs file) because VS.net is crashing during the generation of the proxy before getting to the stage of creating the cs file. i reinstalled silverlight tools and the problem is still the same. The same problem is happening with a colleage of mine, we both have TFS installed, but im making sure that everything is checked out before creating the proxy, and im always providing a new name for the proxy.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try your solution in a separate solution and tell you about the result.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;br /&gt;&lt;b&gt;Fadi KHOURY&lt;/p&gt;&lt;/b&gt;</description></item><item><title>Re: Re: Re: RC0 - Having Trouble creating Proxy for Silverlight-enabled WFC Service.</title><link>http://forums.silverlight.net/forums/thread/111281.aspx</link><pubDate>Thu, 16 Oct 2008 19:35:46 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:111281</guid><dc:creator>Ed Smith</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/111281.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=111281</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think Ken&amp;#39;s reply is address a different issue we had during the beta, that we fixed during the final release.&lt;/p&gt;
&lt;p&gt;I have a couple of questions, to help me try to reproduce this (it doesn&amp;#39;t happen on my machine).&lt;/p&gt;
&lt;p&gt;dbaechtel, if you open the reference.vb file(turn on show all files in the solution explorer), is it empty like what fkhoury is seeing in his response.&amp;nbsp; I assume it is not because you can see it in the object browser.&amp;nbsp; You shouldn&amp;#39;t need to add references to system.servicemodel or anything, that should be added automatically when you add the service reference.&amp;nbsp; To call it you should be able to just call &amp;quot;dim proxy as new ServiceReference1.ServiceClient&amp;quot;.&amp;nbsp; It is not under the web namespace.&amp;nbsp; then you can call proxy. I included some sample steps below&lt;/p&gt;
&lt;p&gt;Do you have team foundation server installed by any chance?&lt;/p&gt;
&lt;p&gt;fkhoury, can you check to see if you have any compile warnings or errors?&amp;nbsp; If you are trying to add a service reference to&amp;nbsp;a regular wcf service (one the use wsHttpBinding, not a Silverlight enabled wcf service(one the uses basicHttpBinding), then this is not supported, but you should have a compiler warning.&lt;/p&gt;
&lt;p&gt;Here are some sample steps to get a basic Silverlight app working (in vb)&lt;/p&gt;
&lt;p&gt;Create new vb Silverlight app&lt;/p&gt;
&lt;p&gt;Add Silverlight enabled wcf service to project&lt;/p&gt;
&lt;p&gt;Build&lt;/p&gt;
&lt;p&gt;Add service reference&lt;/p&gt;
&lt;p&gt;Add &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TextBlock x:Name=&amp;quot;t1&amp;quot; Text=&amp;quot;Hello, Ed&amp;quot; /&amp;gt; to page.xaml and the following code to the code behind&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Public Sub New()&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InitializeComponent()&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; client = New ServiceReference1.Service1Client()&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; client.DoWorkAsync()&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim WithEvents client As ServiceReference1.Service1Client&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Public Sub test(ByVal sender As Object, ByVal e As ComponentModel.AsyncCompletedEventArgs) Handles client.DoWorkCompleted&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t1.Text = &amp;quot;completed&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;/p&gt;
&lt;p&gt;-Ed Smith&lt;/p&gt;
&lt;p&gt;Microsoft Visual Studio team&lt;/p&gt;</description></item><item><title>Re: Re: RC0 - Having Trouble creating Proxy for Silverlight-enabled WFC Service.</title><link>http://forums.silverlight.net/forums/thread/109719.aspx</link><pubDate>Wed, 15 Oct 2008 09:48:11 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:109719</guid><dc:creator>brauliod</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/109719.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=109719</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; On Beta 2 there were some hidden issues when installing SL2 Dev Tools, the thing is that in some cases there&amp;#39;s a webservice library that is more up to date that the one is needed to install,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Take a look at the bottom of this thread:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://silverlight.net/forums/p/21440/82267.aspx#82267"&gt;http://silverlight.net/forums/p/21440/82267.aspx#82267&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; HTH&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Braulio&lt;/p&gt;</description></item><item><title>Re: RC0 - Having Trouble creating Proxy for Silverlight-enabled WFC Service.</title><link>http://forums.silverlight.net/forums/thread/109704.aspx</link><pubDate>Wed, 15 Oct 2008 09:17:32 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:109704</guid><dc:creator>fkhoury</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/109704.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=109704</wfw:commentRss><description>&lt;p&gt;i have a WCF service, and the proxy is not being generated for me neither. I&amp;#39;m using RC1&lt;/p&gt;
&lt;p&gt;&amp;nbsp;i have investigated the problem and i have found that the Reference.cs file is empty.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Anyone else is experiencing this behavior?&lt;/p&gt;
&lt;p&gt;How can we work around it?&lt;/p&gt;</description></item><item><title>Re: RC0 - Having Trouble creating Proxy for Silverlight-enabled WFC Service.</title><link>http://forums.silverlight.net/forums/thread/99128.aspx</link><pubDate>Mon, 29 Sep 2008 12:32:50 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:99128</guid><dc:creator>dbaechtel</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/99128.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=99128</wfw:commentRss><description>Unfortunately the code that you sent doesn&amp;#39;t work either with SL 2 RC0. It gets a runtime exception.</description></item><item><title>Re: RC0 - Having Trouble creating Proxy for Silverlight-enabled WFC Service.</title><link>http://forums.silverlight.net/forums/thread/98783.aspx</link><pubDate>Sun, 28 Sep 2008 22:21:16 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:98783</guid><dc:creator>Ken Tucker</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/98783.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=98783</wfw:commentRss><description>&lt;p&gt;I thought this bug would have been fixed but in the servicereferences.clientconfig file in the silverlight app make sure your project name is in the contract.&amp;nbsp; This is what is auto generated&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;configuration&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;system.serviceModel&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bindings&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;basicHttpBinding&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;binding name=&amp;quot;BasicHttpBinding_Service1&amp;quot; maxBufferSize=&amp;quot;2147483647&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; maxReceivedMessageSize=&amp;quot;2147483647&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;security mode=&amp;quot;None&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/binding&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/basicHttpBinding&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/bindings&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;client&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;endpoint address=&amp;quot;&lt;a href="http://localhost:2822/Service1.svc"&gt;http://localhost:2822/Service1.svc&lt;/a&gt;&amp;quot; binding=&amp;quot;basicHttpBinding&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bindingConfiguration=&amp;quot;BasicHttpBinding_Service1&amp;quot; contract=&amp;quot;ServiceReference1.Service1&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name=&amp;quot;BasicHttpBinding_Service1&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/client&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/system.serviceModel&amp;gt;&lt;br /&gt;&amp;lt;/configuration&amp;gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But this is what is needed for it to work&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;configuration&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;system.serviceModel&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bindings&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;basicHttpBinding&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;binding name=&amp;quot;BasicHttpBinding_Service1&amp;quot; maxBufferSize=&amp;quot;2147483647&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; maxReceivedMessageSize=&amp;quot;2147483647&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;security mode=&amp;quot;None&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/binding&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/basicHttpBinding&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/bindings&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;client&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;endpoint address=&amp;quot;&lt;a href="http://localhost:2822/Service1.svc"&gt;http://localhost:2822/Service1.svc&lt;/a&gt;&amp;quot; binding=&amp;quot;basicHttpBinding&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bindingConfiguration=&amp;quot;BasicHttpBinding_Service1&amp;quot; contract=&amp;quot;&lt;strong&gt;SilverlightApplication10.&lt;/strong&gt;ServiceReference1.Service1&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name=&amp;quot;BasicHttpBinding_Service1&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/client&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/system.serviceModel&amp;gt;&lt;br /&gt;&amp;lt;/configuration&amp;gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>RC0 - Having Trouble creating Proxy for Silverlight-enabled WFC Service.</title><link>http://forums.silverlight.net/forums/thread/98741.aspx</link><pubDate>Sun, 28 Sep 2008 18:35:59 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:98741</guid><dc:creator>dbaechtel</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/98741.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=98741</wfw:commentRss><description>I am trying to create a Silverlight 2 RC0 project that accesses a Silverlight-enabled WFC Service in VB.Net. The online documentation seems to be outdated and does not work. I created a New Silverlight Project as a New ASP.New Project. The the default Project I added a New Silverlight-enabled WCF project called service1. I got a Visual Studio error when I did this that said &amp;quot;Error, Object Reference not set to an instance of an object.&amp;quot; But the action seemed to go OK, the Service was added and the Project compiled OK. Next to my Project I executed an &amp;quot;Add Service Reference&amp;quot; to the default DoWork operation. That operation seemed to go OK and ServiceRefernce1 was added. The problem is how to define a proxy in the page.xaml.vb file to access the DoWork service. To the project I added References to System.ServiceModel and System.ServiceModel.Web. To my Page.xaml.vb file I can add Imports for System.ServiceModel and System.ServiceModel.Channels. To my Page.New() after InitializeComponent() I add &amp;quot;Dim proxy = new SilverlightApplication6.Web.ServiceReference1.Service1Client&amp;quot; which the compiler says is not defined. Service1Client is defined in the Object Browser but I can not find a way to reference it in my Page.xaml.vb file. Intellisense gives me no clue. It will not allow me to add a Reference for SilverlightApplication6.Web to the project.
&lt;br /&gt;&lt;br /&gt;
So, how do I reference the default Silverlight-enabled WCF Service operation DoWork in my Silverlight 2 RC0 Page.xaml.vb file ? Where is the new documentation that shows how to get this to work?
&lt;br /&gt;&lt;br /&gt;
THANKS for any assistance.</description></item></channel></rss>