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

MinifyAttribute Class

Will minify the Razor output if the request is a HTTPGet and does not contain an error.

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


public sealed class MinifyAttribute


Do not use minification on anything but RazorViews as it will likely corrupt all other media types.


Minify the rendered Razor view. You can access the compressed in the post processing as well as in the page reporting.
   public async Task<IActionResult> Index()
     var model= await Factory.NavigationModel().ConfigureAwait(false);
     return View(model);