How to use FastReport.OpenSource in ASP.NET MVC application
As we know, the FastReport.OpenSource libraries are “sharpened” for the .Net Core framework. However, it may be necessary to display reports in the ASP .Net MVC project. It would be nice to use free FROS for this purpose. In this article we will look at how this can be done. Create an ASP.Net MVC project. Add FastReport.OpenSource libraries via NuGet: Unfortunately, we cannot use the web report object, as it is designed for .Net Core. Therefore, we will use the available export of the report in HTML format. Multi-page report is exported to several html files. One file - one report page. Thus, you can organize a transition between report pages when viewing. In the Model folder, create a class: namespace FROS_ASPMVC.Models { public static class Model { public static int PagesCount = 0; public static int CurrentPage = 0; ...