Gustav Brock
Gustav at cactus.dk
Sat Jun 6 12:39:55 CDT 2009
Hi Shamil Thanks for the demo, and yes, that's a very inspiring article and I read it with great interest. Also note in that article the not so exposed link to this article: http://msdn.microsoft.com/magazine/cc794260 which is a bit more basic and explains the "mechanics" of data bound Silverlight pages quite well including in detail what's the Cross-Domain Communications issue is about, why it makes sense, and how to deal with it. Given that Northwind is a not a very complicated application, I think it could be well suited for a transfer to Silverlight. However, one big question is unanswered to me: Reporting in Silverlight. No ReportViewer is available. So how to deal with that? Link to a special reporting server running ASP.NET? Not a bad idea but, of course, but a little more complicated. Here is (no) more info on the subject: http://csharp-snippets.blogspot.com/2009/04/report-viewer-for-Silverlight-2.html <quote> Currently as I see there is only one way of doing these reports. Create your reports definition files in Sql 2005 or 2008 and then use an aspx page to load them. A short reference for the code snippet. It is better to place this in the page_load event of the aspx page. </quote> The Perpetuum component mentioned carries a cost of $750 (not exactly what I am looking for): http://www.perpetuumsoft.com/Product.aspx?lang=en&pid=102 /gustav >>> Salakhetdinov Shamil <mcp2004 at mail.ru> 06-06-2009 18:41 >>> Hi All, I have got SilverLight 2.0 working with sample ADO.NET Data Service - have a look: http://shamils-4.hosting.parking.ru/sl/NWNetSLAppTestPage.aspx - SilverLight sample form http://shamils-4.hosting.parking.ru/NorthwindNetDataService/NWNetDS.svc - ADO.NET Data Service I have used this article to make some corrections to my previous code: Using Silverlight 2 With ADO.NET Data Services http://msdn.microsoft.com/en-us/magazine/dd569758.aspx Please take special attention to this note from article: <<< Cross-Domain Communications ADO.NET Data Services does not currently support cross-domain communications. Cross-domain communications are supported with standard REST and SOAP services, but not with ADO.NET Data Services. (As a note: the data services team is exploring the space and will post their progress to the Astoria team blog as they go.) This means that a Silverlight 2 client cannot talk to services exposed through ADO.NET Data Services if those services are hosted on a different domain than the domain that hosts the Silverlight client application >>> I first missed it and tried to make my SilverLight application working in debug mode on my PC while trying to get data from the above ADO.NET Data Service - it didn't work and resulted in obscure runtime error message box popping up in IE 7: A Runtime Error has occurred. Do you wish to debiug? Line: 0 Error: Access is denied When the application was put on the same server then it started to work OK. This sample application is just getting some data and exposing them in a Silverlight window/form - nothing special but in fact this is a core to grow "meat stuff" around. In the coming days (after lonng weekend break till next Tuesday) I plan to add some more features to this sample application as inserting/updating/deleting records and also simple navigation control. Please note that SilverLight applications are a kind of limited XBAP application which in turn are a kind of limited WPF applications: knowing how to develop one kind of them will simplify to master development of the others. What about making Northwind.Net.Silverlight application in a SCRUM team? Thank you. -- Shamil -----Original Message----- From: Salakhetdinov Shamil <mcp2004 at mail.ru> To: dba-VB <dba-vb at databaseadvisors.com> Date: Wed, 03 Jun 2009 04:33:26 +0400 Subject: [dba-VB] SCRUM/SilverLight 2.0 > Hi All, > > I have got setup simple SilverLight application here > > http://shamils-4.hosting.parking.ru/sl > > now using publish feature but it still doesn't work there when started from Internet and it works well locally. > > Do you know should there be any special tuning done of server side for SilverLight applications to run properly? (ASP.NET 2.0/3.5 run from that site just fine.) > > Thank you. > > -- > Shamil