Walter.Web.FireWall
MinifyAttribute Class
Members  Example 
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Annotations Namespace : MinifyAttribute Class
Will minify the Razor output if the request is a HTTPGet and does not contain an error.
Syntax
Remarks
Do not use minification on anything but RazorViews as it will likely corrupt all other media types.
Example
Minify the rendered Razor view. You can access the compressed in the post processing as well as in the page reporting.
[Minify]
             public async Task<IActionResult> Index()
             {
               var model= await Factory.NavigationModel().ConfigureAwait(false);
               return View(model);
             }
Inheritance Hierarchy

System.Object
   System.Attribute
      Microsoft.AspNetCore.Mvc.TypeFilterAttribute
         Walter.Web.FireWall.Annotations.MinifyAttribute

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MinifyAttribute Members
Walter.Web.FireWall.Annotations Namespace
OnResourceSend Event
Compression Property
Minifiction Property