This is a migrated thread and some comments may be shown as answers.

Dynamic Compilation of Reports

2 Answers 73 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stephane
Top achievements
Rank 1
Stephane asked on 13 Sep 2010, 02:07 PM
Hello,

I have a web site, and an aspx that includes a silverlight application using telerik:ReportViewer.
The aspx gives it the Report name to use ("ProjectReport" for instance), and the silverlight do something like this :

ReportViewer.Report = String.Format("ReportService.{0}, ReportService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", App.Current.Resources["Report"]);

 


 Moreover, a user can upload report files (ie: Fubar.cs Fubar.Designer.cs Fubar.resx) to the website, and can wish to see it directly in the website. (and all other connected users too)

My question : is that possible (without reboot of the application I mean) ? Because currently, the reports are in a web application (for namespaces), so, no live compilation, so the uploaded reports are not found by the ReportService. Is it possible to do something like this ?

Thanks you,

Stephane

2 Answers, 1 is accepted

Sort by
0
Stephane
Top achievements
Rank 1
answered on 15 Sep 2010, 03:28 PM
Do you think MEF could resolve my problem ?
0
Massimiliano Bassili
Top achievements
Rank 1
answered on 16 Sep 2010, 07:20 AM
The reports should be separated in a class library that is referenced in your web application (Telerik best practices). This means that a recompilation of the project is required in order to reflect any new reports, since the class library is not uploaded to the server, but you upload the class library assembly in the bin folder of the web application.

Cheers!
Tags
General Discussions
Asked by
Stephane
Top achievements
Rank 1
Answers by
Stephane
Top achievements
Rank 1
Massimiliano Bassili
Top achievements
Rank 1
Share this question
or