This is likely a duplicate of the below question but the only answer is a dead link: Minify Html output of ASP.NET Application
When working with ASP.Net one of t
I recommend you to try WebMarkupMin.Mvc. Documentation is available at - http://webmarkupmin.codeplex.com/documentation