SilverlightShow: Creating applications with WCF RIA Service Part 1 - Introduction Comments http://www.silverlightshow.net/ Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples SilverlightShow.net http://www.rssboard.org/rss-specification Argotic Syndication Framework 2008.0.2.0, http://www.codeplex.com/Argotic en-US estoychev@completit.com (Emil Stoychev) RE: Creating applications with .NET RIA Service Part 1 - Introduction <p>I cant seems to open the demo for this tutorial, I get the following message.</p> <p><strong>This application was created for an expired beta release of silverlight.</strong></p> http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx#comment3534 Ryan http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx Wed, 05 May 2010 09:34:07 GMT RE: Creating applications with .NET RIA Service Part 1 - Introduction <p>Webpage error details</p> <p>User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB6.4; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)<br /> Timestamp: Fri, 12 Feb 2010 18:11:17 UTC</p> <p >Message: Sys.InvalidOperationException: InitializeError error #2106 in control 'Xaml1': Failed to load the application. It was built with an obsolete version of Silverlight<br /> Line: 453<br /> Char: 17<br /> Code: 0<br /> URI: <a href="http://www.silverlightshow.net/showcase/WebAdministrationTool/ScriptResource.axd?d=2Pm4pLz4EAvMA7vnIxpzyegfFzvu5_74ExBIC96T8ZRcoBd2jqrHz272wGnHmbrLluXjnbUaXrdlKuJ8zMKCCg2&t=ffffffff9df4fb07">http://www.silverlightshow.net/showcase/WebAdministrationTool/ScriptResource.axd?d=2Pm4pLz4EAvMA7vnIxpzyegfFzvu5_74ExBIC96T8ZRcoBd2jqrHz272wGnHmbrLluXjnbUaXrdlKuJ8zMKCCg2&t=ffffffff9df4fb07</a></p> <p> </p> http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx#comment3075 Peter http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx Fri, 12 Feb 2010 20:12:20 GMT RE: Creating applications with .NET RIA Service Part 1 - Introduction <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0in; margin-right:0in; margin-bottom:10.0pt; margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style> <p style="line-height: normal;"><span style="font-size: 12pt; font-family: "times new roman","serif";">Hi, <br /> the following code works fine and bind records with grid.</span></p> <p style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 12pt; font-family: "times new roman","serif";">EmployeeDomainContext employeeDomainContext = new EmployeeDomainContext();<br /> employeeDomainContext .Load<Employee>(employeeDomainContext .GetEmployeeQuery();<br /> dgrEmployee.ItemsSource = employeeDomainContext.Employees;</span></p> <p style="line-height: normal;"><span style="font-size: 12pt; font-family: "times new roman","serif";">But if I want to get records from employeeDomainContext.Employees then I am not be able to get these records, even it shows its count to 0.</span></p> <p style="line-height: normal;"><span style="font-size: 12pt; font-family: "times new roman","serif";">Can I get these records in a variable?</span></p> <p style="line-height: normal;"><span style="font-size: 12pt; font-family: "times new roman","serif";"> Thanks and Best Regards,<br /> Hafiz Muhammad Suleman</span></p> http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx#comment2805 suleman http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx Thu, 17 Dec 2009 13:50:49 GMT RE: Creating applications with .NET RIA Service Part 1 - Introduction Demo won't compile claims it needs system.web.silverlight which does not ship with 3.0.<br /> http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx#comment2715 Bill http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx Thu, 26 Nov 2009 08:50:00 GMT RE: Creating applications with .NET RIA Service Part 1 - Introduction <p>The demo didn't work for me:  The error I got was:</p> <p>Webpage error details</p> <p>User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)<br /> Timestamp: Mon, 16 Nov 2009 10:05:55 UTC</p> <p >Message: Sys.InvalidOperationException: InitializeError error #2106 in control 'Xaml1': Failed to load the application. It was built with an obsolete version of Silverlight<br /> Line: 453<br /> Char: 17<br /> Code: 0<br /> URI: <a shape="rect" href="http://www.silverlightshow.net/showcase/WebAdministrationTool/ScriptResource.axd?d=2Pm4pLz4EAvMA7vnIxpzyegfFzvu5_74ExBIC96T8ZRcoBd2jqrHz272wGnHmbrLluXjnbUaXrdlKuJ8zMKCCg2&t=ffffffff9df4fb07" shape="rect">http://www.silverlightshow.net/showcase/WebAdministrationTool/ScriptResource.axd?d=2Pm4pLz4EAvMA7vnIxpzyegfFzvu5_74ExBIC96T8ZRcoBd2jqrHz272wGnHmbrLluXjnbUaXrdlKuJ8zMKCCg2&t=ffffffff9df4fb07</a></p> <p> </p> http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx#comment2674 dotnetster http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx Mon, 16 Nov 2009 12:07:54 GMT RE: Creating applications with .NET RIA Service Part 1 - Introduction It would be great to see these articles updated for silverlight 3. http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx#comment2576 Steve http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx Tue, 27 Oct 2009 15:37:00 GMT RE: Creating applications with .NET RIA Service Part 1 - Introduction orey puvva http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx#comment2393 puvvu http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx Wed, 23 Sep 2009 12:36:11 GMT RE: Creating applications with .NET RIA Service Part 1 - Introduction <p>hi there,</p> <p>It seems that this article has not included the pre-requisites or requirements in order to run Silverlight 3 + RIA Services on a server. Therefore, I have a couple of things to add and the followings are stuffs that must be installed on the server:</p> <p>1. .NET3.5 Framework<br /> 2. Full Trust mode must be enabled<br /> 3. Install the Visual Web Developer 2008 tool<br /> 4. Install the Visual Studio 2008 Service Pack 1 <br /> 5. Run the Silverlight 3 Toolkit<br /> 6. Run the RIA Service Installation<br /> 7. Silverlight can run on either IIS6 or IIS7</p> <p>I am currently hosting my Silverlight 3 (+ RIA Service) with ASPHostCentral (<a href="http://www.asphostcentral.com/" target="_new" rel="nofollow">http://www.asphostcentral.com/</a>) and so far, everything works smoothly. To be honest, there are so many exciting things about this latest Silverlight 3, with an exceptional extra feature of RIA Services. I am still exploring further features, which include Expression Blend and hopefully, I can see more interesting articles here :)<br /> </p> http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx#comment2240 Scott http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx Sat, 15 Aug 2009 07:25:48 GMT RE: Creating applications with .NET RIA Service Part 1 - Introduction <p>Thank you for the article! Silverlight and RIA Services are so exciting!!</p> <p>So far, the one thing I can't find any information about is CRUD to the server file system through RIA Services. </p> <p>I have a project from a client where the ability to administer a subfolder on the server-side is central (CRUD directories and files within a subfolder in the web app). I'd love to be able to do this project with SL3 and RIA services!</p> <p>Is this possible at this time? If so, is there any chance someone could share some working examples on how to do this with SL3 and RIA Services?</p> <p>Thank you so much for your time and sharing your knowledge :-)</p> <p> </p> <p> </p> http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx#comment2085 Ben http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx Wed, 22 Jul 2009 21:32:44 GMT RE: Creating applications with .NET RIA Service Part 1 - Introduction Thank you Martin for clarification. http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx#comment1236 Sanjay Singh http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx Fri, 20 Mar 2009 09:30:30 GMT RE: Creating applications with .NET RIA Service Part 1 - Introduction Hi, Sanjay!<br /> <br /> Yes, there is a specific reason for this and is related to the DomainDataSource and the paging. The DomainDataSource controls has a LoadSize property, which determines the count of the items loaded. When not set and there is a DataPager control bound to the DomainDataSource, it loads a number of items equal to the page size.<br /> <br /> The next article of the series will be focused on the DomainDataSource and we'll take a much closer look at this feature of the control. :)<br /> http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx#comment1232 Enrai http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx Fri, 20 Mar 2009 04:17:26 GMT RE: Creating applications with .NET RIA Service Part 1 - Introduction Thanks Martin for the article. It will be a great start to work on SL3 building LOB apps.I have a question, when nagiating the records using the paging it is taking more time even though the page is already loaded. I went from page 1 to 2 and then when I click back it takes the same time. Any specific reason? Is it the default behavior? http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx#comment1231 Sanjay Singh http://www.silverlightshow.net/items/Creating-applications-with-.NET-RIA-Service-Part-1-Introduction.aspx Fri, 20 Mar 2009 02:24:11 GMT