[dba-VB] SCRUM/SilverLight 2.0

Gustav Brock Gustav at cactus.dk
Sat Jun 6 18:00:21 CDT 2009


Hi Shamil

OK for me.

/gustav

>>> Salakhetdinov Shamil <mcp2004 at mail.ru> 07-06-2009 00:03 >>>

Hi Gustav at all,

OK, so we have to find a way how to present reports another way - as far as I can see Perpetuum your referred currently "just" returns the image of report - all pages at once. As for .pdf, .xls etc. exports they generate them on service side and return to the browser  in popup window:

http://www.perpetuumsoft.com/Demo/slviewer/DemoReportsService.svc/Rest/Export?id=ReportsList&format=pdf 
http://www.perpetuumsoft.com/Demo/slviewer/DemoReportsService.svc/Rest/Export?id=ReportsList&format=excel 
http://www.perpetuumsoft.com/Demo/slviewer/DemoReportsService.svc/Rest/Export?id=ReportsList&format=rtf 
http://www.perpetuumsoft.com/Demo/slviewer/DemoReportsService.svc/Rest/Export?id=ReportsList&format=html 

The new features for SilverLight 3.0 show that this technology is targeted first of all for dynamic media content than for (relatively static) reports - therefore let's try to use "right tools for the right job"? - and if developing Northwind.NET.Silverlight sample then use SilverLight features to present interactive forms, and to display reports - use something as Perpetuum does - in popup window - generated on server side .PDF...

OK?

Thank you.

--
Shamil

-----Original Message-----
From: "Gustav Brock" <Gustav at cactus.dk>
To: <dba-vb at databaseadvisors.com>
Date: Sat, 06 Jun 2009 20:46:19 +0200
Subject: Re: [dba-VB] SCRUM/SilverLight 2.0

> Hi Shamil et al
> 
> Well, sadly report(ing) is not mentioned with a single word in the news about Silverlight 3 beta:
> 
> http://silverlight.net/getstarted/silverlight3/default.aspx#whatsnew 
> 
> so some other method must be worked out.
> Streaming is an interesting idea but that will disable one of the true strengths of the ReportViewer: Interaction.
> 
> /gustav
> 
> 
> >>> Salakhetdinov Shamil <mcp2004 at mail.ru> 06-06-2009 20:30 >>>
> 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





More information about the dba-VB mailing list