ActiveReports 16 .NET Edition
ActiveReports 16 User Guide / Quick Start
In This Topic
    Quick Start
    In This Topic

    Quickly begin using ActiveReports by following the steps below.

    1. Install ActiveReports.     

    2. In Microsoft Visual Studio 2022 (version 17.0 or above), select ActiveReports 16 JS Viewer Core MVC Application template.
      Default Report

    3. Type a name for your project and click Create.
      Default Report

    4. Set the Target framework to .NET 6.0.
      Choosing ActiveReports 15 JS Viewer MVC Core Application as the Visual Studio template

    5. Open the default 'RdlReport1.rdlx' report from the 'Reports' folder and design. You can also add other report types - Page Report or Section report from the templates.
    6. Make sure to set the Build Action property of the report to 'Embedded Resource'.
    7. Modify index.html to provide the name of the report you want to preview in viewer.openReport() method:
      viewer.openReport("RdlReport1.rdlx");

    8. Modify Startup.cs to include the path of the folder where the report is kept, for example, if the 'Reports' folder in your application’s root contains the report:

      settings.UseFileStore(new System.IO.DirectoryInfo(env.ContentRootPath + @"\Reports\"));
      

    9. Run the application. The report opens in the JSViewer.
      Default Report

    See Also