There are a number of configuration settings that can be applied to Moxy at runtime. These only need to be set once so global.asax.cs is a good place for these.
Configuration Settings
Base Uri | Setting the baseUri allows report definitions and images to be referenced with relative urls.
Example ReportBuilder.BaseUri = Server.MapPath("/"); |
Template Folder | The template folder is the root location of your Moxy templates. The url is relative to the base uri.
Example ReportBuilder.TemplateFolder = "content/moxy"; |
Report Folder | The template folder is the root location of your report definitions. The url is relative to the base uri.
Example ReportBuilder.ReportFolder = "content/reports"; |
Register Module | Any additional modules, such as Moxy Charts, Moxy Forms or custom modules must be registered with the report builder.
Example ReportBuilder.RegisterModule(new ChartBuilder()); |
Report Profiler | The profiler creates an XML dump of each report run including performance, data source and report XML. The profiler is disabled by default and can be activated by setting an output folder where XML dumps will be placed.
Example ReportProfiler.OutputFolder = @“c:\moxyDump”; |
Click to see Comments