27,887

Downloads

766

Downloads of v 1.1.0

24

Average downloads per day

2016-04-05

Last published

Share on Social Networks

There is a newer prerelease version of this package available. See the version list below for details.

Web Markup Minifier: Core

1.1.0

The Web Markup Minifier (abbreviated WebMarkupMin) is a .NET library that contains a set of markup minifiers. The objective of this project is to improve the performance of web applications by reducing the size of HTML, XHTML and XML code.

WebMarkupMin absorbed the best of existing solutions from non-microsoft platforms: Juriy Zaytsev's Experimental HTML Minifier (http://kangax.github.com/html-minifier/) (written in JavaScript) and Sergiy Kovalchuk's HtmlCompressor (http://code.google.com/p/htmlcompressor/) (written in Java).

Minification of markup produces by removing extra whitespaces, comments and redundant code (only for HTML and XHTML). In addition, HTML and XHTML minifiers supports the minification of CSS code from style tags and attributes, and minification of JavaScript code from script tags, event attributes and hyperlinks with javascript: protocol. WebMarkupMin.Core contains built-in JavaScript minifier based on the Douglas Crockford's JSMin (http://github.com/douglascrockford/JSMin) and built-in CSS minifier based on the Mads Kristensen's Efficient stylesheet minifier (http://madskristensen.net/post/Efficient-stylesheet-minification-in-C). The above mentioned minifiers produce only the most simple minifications of CSS and JavaScript code, but you can always install additional modules that support the more powerful algorithms of minification: WebMarkupMin.MsAjax (contains minifier-adapters for the Microsoft Ajax Minifier - http://ajaxmin.codeplex.com) and WebMarkupMin.Yui (contains minifier-adapters for YUI Compressor for .Net - http://github.com/PureKrome/YUICompressor.NET).

Also supports minification of views of popular JavaScript template engines: KnockoutJS, Kendo UI MVVM and AngularJS 1.X.

To install Web Markup Minifier: Core, run the following command in the Package Manager Console

Install-Package WebMarkupMin.Core -Version 1.1.0

Release Notes

1. In configuration settings of HTML minifier was added one new property - `PreserveCase` (default `false`);
2. Fixed a errors that occurred when processing of Angular 2, Aurelia and Polymer templates.

Owners

Authors

Andrey Taritsyn

Copyright

Copyright (c) 2013-2016 Andrey Taritsyn - http://www.taritsyn.ru

Tags

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
Web Markup Minifi... 2.0.0-rc8 31 Thursday, May 19, 2016
Web Markup Minifi... 2.0.0-rc7 60 Tuesday, May 10, 2016
Web Markup Minifi... 2.0.0-rc6 102 Saturday, April 2, 2016
Web Markup Minifi... 2.0.0-rc2 542 Saturday, December 5, 2015
Web Markup Minifi... 2.0.0-rc1 463 Friday, November 20, 2015
Web Markup Minifi... 2.0.0-beta5 219 Saturday, October 17, 2015
Web Markup Minifi... 2.0.0-beta4 285 Friday, September 4, 2015
Web Markup Minifi... 2.0.0-beta2 76 Monday, August 24, 2015
Web Markup Minifi... 2.0.0-beta1 42 Thursday, August 13, 2015
Web Markup Minifi... 2.0.0-alpha2 44 Friday, July 31, 2015
Web Markup Minifi... 2.0.0-alpha1 51 Friday, July 17, 2015
Web Markup Minifi... 1.0.1 3,087 Sunday, December 6, 2015
Web Markup Minifi... 1.0.0 3,546 Wednesday, August 26, 2015
Web Markup Minifi... 0.9.12 4,103 Wednesday, April 1, 2015
Web Markup Minifi... 0.9.11 1,826 Saturday, January 31, 2015
Web Markup Minifi... 0.9.9 991 Tuesday, November 25, 2014
Web Markup Minifi... 0.9.8 2,828 Sunday, October 26, 2014
Web Markup Minifi... 0.9.7 319 Thursday, October 9, 2014
Web Markup Minifi... 0.9.6 194 Tuesday, September 30, 2014
Web Markup Minifi... 0.9.4 175 Saturday, September 27, 2014
Web Markup Minifi... 0.9.3 554 Sunday, September 14, 2014
Web Markup Minifi... 0.9.2 2,224 Thursday, September 11, 2014
Web Markup Minifi... 0.9.1 92 Wednesday, September 10, 2014
Web Markup Minifi... 0.9.0 116 Tuesday, September 9, 2014
Web Markup Minifi... 0.9.0-beta4 63 Monday, September 8, 2014
Web Markup Minifi... 0.9.0-beta3 134 Thursday, July 24, 2014
Web Markup Minifi... 0.9.0-beta2 58 Thursday, July 10, 2014
Web Markup Minifi... 0.9.0-beta1 531 Thursday, July 3, 2014
Web Markup Minifi... 0.8.21 1,075 Tuesday, May 27, 2014
Web Markup Minifi... 0.8.20 160 Sunday, May 18, 2014
Web Markup Minifi... 0.8.18 949 Saturday, March 15, 2014
Web Markup Minifi... 0.8.13 724 Tuesday, November 26, 2013
Web Markup Minifi... 0.8.11 346 Tuesday, September 17, 2013
Web Markup Minifi... 0.8.9 206 Wednesday, July 17, 2013
Web Markup Minifi... 0.8.7 127 Wednesday, June 5, 2013
Web Markup Minifi... 0.8.6 145 Thursday, May 30, 2013
Web Markup Minifi... 0.8.2 168 Monday, April 22, 2013
Web Markup Minifi... 0.8.1 113 Saturday, April 20, 2013
Web Markup Minifi... 0.8.0 92 Monday, April 15, 2013
Web Markup Minifi... 0.7.3-beta1 66 Tuesday, April 2, 2013
Web Markup Minifi... 0.7.2-alpha1 67 Thursday, March 28, 2013
Web Markup Minifi... 0.7.1-alpha1 63 Tuesday, March 26, 2013
Web Markup Minifi... 0.7.0-alpha1 64 Monday, March 25, 2013