The compatibility with ASMX services makes it possible for WCF services to access, for example, the HttpContext object and subsequently other ASP.NET intrinsic objects. The compatibility is required at two levels. One of them is mentioned above.

Secondly, developers need to explicitly choose the compatibility mode for a given WCF service by using the service AspNetCompatibilityRequirements attribute.
Open code behind of the service and put the following attribute for the ReportService class:

Add fileReportSlot. Open fileReportSlot and do some stuff with your report.

Pay attention that filereportslot should be also deployed and have appropriate filepath after deploying, or you may use urlReportSlot. InlineReportSlot is not a best choice for the WebSite, because there are plenty troubles due to the fact that website is compiled to several assemblies.

Save and close Designer and ReportManager form. Save one more time Ctrl-Shift-S

Pay attention that our report is called Report1 and see what port does your app have (I have “63949”).

Client side stuff:

Add references to:

PerpetuumSoft.Reporting.Silverlight.Client

System.Windows.Controls

System.Windows.Controls.Toolkit

System.Windows.Controls.Input.Toolkit

System.Xml.Linq

Open MainPage.xaml put the component markup (My website name is WebSite2, my port is 63949):