There is a newer version of this package available.
See the version list below for details.
Install-Package AspNetCore.ReportViewer -Version
dotnet add package AspNetCore.ReportViewer --version
<PackageReference Include="AspNetCore.ReportViewer" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AspNetCore.ReportViewer --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AspNetCore.ReportViewer,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install AspNetCore.ReportViewer as a Cake Addin
#addin nuget:?package=AspNetCore.ReportViewer&version=

// Install AspNetCore.ReportViewer as a Cake Tool
#tool nuget:?package=AspNetCore.ReportViewer&version=
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Microsoft.AspNetCore.Report, ReportViewer, ReportService

NuGet packages (3)

Showing the top 3 NuGet packages that depend on AspNetCore.ReportViewer:

Package Downloads

Package Description


Package Description


Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 16,284 1/2/2020 10,518 5/14/2018 702 4/5/2018 851 1/31/2018

Microsoft.AspNetCore.Report, ReportViewer, ReportService
     var settings = new ReportSettings();
var appsettins = HttpHelper.AppSettings;
settings.ReportServer = appsettins.ReportServer;
settings.Credential = new NetworkCredential(appsettins.ReportUserName, appsettins.ReportPassword, appsettins.ReportDomain);
settings.UserAgent = (HttpHelper.HttpContext.Request.Headers as FrameRequestHeaders).HeaderUserAgent;
if (request.ExecuteType != ReportExecuteType.Export)
   request.RenderType = ReportRenderType.Html4_0;
settings.ShowToolBar = true;

settings = PrepareParamenters(settings);

var viewer = new ReportViewer(settings);
var response = viewer.Execute(request);
if (request.ExecuteType == ReportExecuteType.Export)
   start = request.Parameters.FirstOrDefault(x => x.Key.Equals("startDate", tringComparison.OrdinalIgnoreCase)).ConvertTo<DateTime>();
   end = request.Parameters.FirstOrDefault(x => x.Key.Equals("endDate", tringComparison.OrdinalIgnoreCase)).ConvertTo<DateTime>();
   var name = request.GetName();
   response.Data.FileName = $"{name}_{start.ToString("MMddyyyy")}-{end.ToString("MMddyyyy")}.{response.Data.Extension}";
the javascript ReportViewer.js,ToolBar.css at this package's content folder

<div id = "toolBar" >
   </ div >
   < div id= "viewer" >
   </ div >
   < script >
       var viewer = .reportViewer({
   toolBar: '#toolBar', // can set null that toolbar will in div#viewer
           server: "/Reports/LoadReport",
       path: "/ScheduleReports/OvertimeReport"
           //onError: function (message) { alert(message); },
           //onLoading: function () { },
           onLoaded: function(response, data) {
       if (.length == 0) {
                   .append('<button type="button" class="close" title="Close" style="font-size:50px;width:50px;color:#333;" onclick="exitFullscreen();"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>');