AspNetCore.ReportViewer 2.0.3.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package AspNetCore.ReportViewer --version 2.0.3.5                
NuGet\Install-Package AspNetCore.ReportViewer -Version 2.0.3.5                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AspNetCore.ReportViewer" Version="2.0.3.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AspNetCore.ReportViewer --version 2.0.3.5                
#r "nuget: AspNetCore.ReportViewer, 2.0.3.5"                
#r directive can be used in F# Interactive and Polyglot Notebooks. 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=2.0.3.5

// Install AspNetCore.ReportViewer as a Cake Tool
#tool nuget:?package=AspNetCore.ReportViewer&version=2.0.3.5                

Microsoft.AspNetCore.Report, ReportViewer, ReportService

Product Compatible and additional computed target framework versions.
.NET Standard netstandard1.6.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

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

Package Downloads
Win.Framework

Package Description

HESRAM.Print

Package Description

WinFramework

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.0.200103 56,065 1/2/2020
2.0.3.58 22,843 5/14/2018
2.0.3.38 1,976 4/5/2018
2.0.3.5 2,176 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",
           request:
   {
       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>');
       }
   }
});
viewer.loadReport();
</script>