Walter.BOM Namespace
Walter.Web.FireWall Namespace
ASP-WAF | .Net API for WAF Systems

CompressionData Class

Class CompressionData records the minification compression effectiveness and savings per endpoint

Namespace:  Walter.Web.FireWall.Models
Assembly:  Walter.Web.FireWall (in Walter.Web.FireWall.dll)

Syntax


public sealed class CompressionData

Remarks


You can enable this feature by adding the [Minify] attribute to your Razor views and pages

Examples


Minify the rendered Razor view. You can access the compressed in the post processing as well as in the page reporting.
C#
[Minify]
public IActionResult Index()
{
   return View();
}

See Also


[IFireWall.Report(Reporting.ReportTypes)]
[IFireWall.Report(Reporting.ReportTypes, Reporting.ReportFormat)]
[IFireWall.GetReport(Reporting.ReportTypes)]