22

Tried searching around for a complete library for HTML Minification in C# but haven't been able to locate anything that is useful ?

Does anyone here have such a library or know of one ?

Tom
  • 223
  • 1
  • 2
  • 4

2 Answers2

5

As for static HTML compression, I found this port of Google’s htmlcompressor library. I wrapped it in MSBuild Task and I'm happy:)

Stacked
  • 6,892
  • 7
  • 57
  • 73
2xMax
  • 1,639
  • 6
  • 21
  • 41
0

Try my extension for static minification: MinifyOnSave

The source code is also available on GitHub.

Warren Sergent
  • 2,542
  • 4
  • 36
  • 42
Hossein
  • 1,640
  • 2
  • 26
  • 41