Salakhetdinov Shamil
mcp2004 at mail.ru
Sat Jun 6 13:30:46 CDT 2009
Hi Gustav, Thank you for your feedback. I will put your articles' refs in my "immediate read list" (leaving tomorrow for Finland for a short two days holidays). Yes, that would be interesting to "cook" a SilverLight sample project in a (SCRUM) team. I have just published the results of my first SilverLight and ADO.NET Data Services exercize here on CodePlex - http://northwind.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=26600 As for reporting - I haven't checked yet the references you posted here and I have to leave now: - what about the idea of delivering reports using special service? (we talked about that a few times already) MS ReportViewer Control Reports's PDF can be generated on-the-fly directly in code and in memory and that memory stream can be broadcasted anywhere/consumed from anywhere AFAIK... But how to consume that memory stream in SilverLight is an open question here - AFAIK (am I wrong?) SilverLight can communicate with its hosting browser (.aspx) page - so I guess it (SilverLight) can somehow "command" its hosting browser web page to "talk to web server" to generate MS ReportViewer Report with certain params and then get this generated report presented outside of SilverLight area on the web page (and SilverLight will shrink while report is presented) - something like that? Sounds too complicated? Maybe SilverLight 3.0 will have new controls supporting MS ReporViewer Reports' presentation etc.? Maybe we'd better wait for that reporting features as SilverLight 3.0 is in beta now, and we still have quite some stuff to learn with SilverLight 2.0? I mean we can just make the part of sample project having forms and neglect reports until SilverLight 3.0 will be released? Thank you. -- Shamil -----Original Message----- From: "Gustav Brock" <Gustav at cactus.dk> To: <dba-vb at databaseadvisors.com> Date: Sat, 06 Jun 2009 19:39:55 +0200 Subject: Re: [dba-VB] SCRUM/SilverLight 2.0 > 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 > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com >