Walter.BOM Namespace
Walter.Web.FireWall Namespace
ASP-WAF Web application firewall for .Net 6, .Net 5, .Net Standard 2.1 and .Net Core 3.x

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)]