Requirements for Telerik Reporting REST Service ASP.NET Web API
-
Telerik Reports must be accessible by the application hosting the Reporting REST WebAPI service.
-
Telerik Reporting ASP.NET Web API service implementation requires the following ASP.NET and third-party assemblies:
- Microsoft ASP.NET 4.0
- System.Web.dll (4.0.0.0)
- System.Net.Http.dll (4.0.0.0)
- System.Net.Http.Formatting.dll (4.0.0.0)
- Microsoft.AspNet.WebApi 4.0.30506
- System.Web.Http.dll (4.0.0.0)
- System.Web.Http.WebHost.dll (4.0.0.0) required for hosting in IIS
- System.Web.Http.SelfHost.dll (4.0.0.0) required for Self-Hosting
- Newtonsoft.Json.dll 13.0.0.0 (the latest version available via NuGet is recommended).
You can use a newer Web API version by updating the corresponding
Microsoft.AspNet.WebApi.WebHostandMicrosoft.AspNet.WebApi.SelfHostNuGet packages and applying the following binding redirects to your application configuration file. Replace5.1.0.0in the sample code below with the exact version you are using:XML<?xml version="1.0" encoding="utf-8" ?> <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="System.Web.Http" culture="neutral" publicKeyToken="31bf3856ad364e35"/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="5.1.0.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Net.Http.Formatting" culture="neutral" publicKeyToken="31bf3856ad364e35"/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="5.1.0.0"/> </dependentAssembly> </assemblyBinding> </runtime> </configuration> - Microsoft ASP.NET 4.0
-
Optional assemblies:
These assemblies add up to the Telerik Reporting Engine functionality and should be used only if you need the specific feature. They are responsible for additional support formats or retrieving data from an OLAP cube. The assemblies must be deployed along with the application that hosts the Telerik Reporting REST WebAPI Service.
- XPS rendering extension requires Telerik.Reporting.XpsRendering assembly (Telerik.Reporting.XpsRendering.dll).
- DOCX/PPTX/XLSX rendering extensions require Telerik.Reporting.OpenXmlRendering.dll and Third-Party Dependencies (DocumentFormat.OpenXml.dll v.2.0.5022.0 or above with proper binding redirect).
- CubeDataSource requires Telerik.Reporting.Adomd.dll and Third-Party Dependencies (Microsoft.AnalysisServices.AdomdClient.dll v.10.0.0.0 or above with proper binding redirects).