XB.WebMarkupMin.Core
2.8.6
dotnet add package XB.WebMarkupMin.Core --version 2.8.6
NuGet\Install-Package XB.WebMarkupMin.Core -Version 2.8.6
<PackageReference Include="XB.WebMarkupMin.Core" Version="2.8.6" />
paket add XB.WebMarkupMin.Core --version 2.8.6
#r "nuget: XB.WebMarkupMin.Core, 2.8.6"
// Install XB.WebMarkupMin.Core as a Cake Addin #addin nuget:?package=XB.WebMarkupMin.Core&version=2.8.6 // Install XB.WebMarkupMin.Core as a Cake Tool #tool nuget:?package=XB.WebMarkupMin.Core&version=2.8.6
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 HTML Minifier (https://github.com/kangax/html-minifier/) (written in JavaScript) and Sergiy Kovalchuk's HtmlCompressor (https://github.com/serg472/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 (https://github.com/douglascrockford/JSMin) and built-in CSS minifier based on the Mads Kristensen's Efficient stylesheet minifier (https://madskristensen.net/blog/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 - https://github.com/microsoft/ajaxmin), WebMarkupMin.Yui (contains minifier-adapters for YUI Compressor for .NET - https://github.com/YUICompressor-NET/YUICompressor.NET) and WebMarkupMin.NUglify (contains minifier-adapters for the NUglify - https://github.com/trullock/NUglify).
Also supports minification of views of popular JavaScript template engines: KnockoutJS, Kendo UI MVVM and AngularJS 1.X.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.3 is compatible. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net40-client is compatible. net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 2.1
- AdvancedStringBuilder (>= 0.1.0)
-
.NETFramework 4.0 Client
- AdvancedStringBuilder (>= 0.1.0)
- PolyfillsForOldDotNet.System.Buffers (>= 0.1.1)
-
.NETFramework 4.5
- AdvancedStringBuilder (>= 0.1.0)
- System.Buffers (>= 4.0.0)
-
.NETStandard 1.3
- AdvancedStringBuilder (>= 0.1.0)
- NETStandard.Library (>= 1.6.0)
- System.Buffers (>= 4.0.0)
-
.NETStandard 2.0
- AdvancedStringBuilder (>= 0.1.0)
- System.Buffers (>= 4.4.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on XB.WebMarkupMin.Core:
Package | Downloads |
---|---|
XB.WebMarkupMin.AspNet.Common
WebMarkupMin.AspNet.Common is auxiliary package, that contains classes and interfaces for all ASP.NET extensions. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.8.6 | 2,761 | 9/20/2020 |
Improved a performance of the class directive processing.