public static IApplicationBuilder UseHTMLMinification(this IApplicationBuilder app,
                                                              string excludeFilter)
        {
            var options = new HtmlMinificationOptions()
            {
                ExcludeFilter = excludeFilter
            };

            return(app.UseMiddleware <HtmlMinificationMiddleware>(options));
        }
 public static IApplicationBuilder UseHTMLMinification(this IApplicationBuilder app,
                                                       HtmlMinificationOptions minificationOptions)
 {
     return(app.UseMiddleware <HtmlMinificationMiddleware>(minificationOptions));
 }
 public HtmlMinificationMiddleware(RequestDelegate next, HtmlMinificationOptions minificationOptions)
 {
     _next = next;
     _minificationOptions = minificationOptions;
 }