Hi All,
How can we enable HTML code compression in .Net? Is there anything we need to do in web.config or external tool is needed?

Thanks!

Hi pritaeas - Thanks for the reply.I am looking for someting which google do to compress the html code(If you see the source code of www.google.com). I was wondering if there is any built in feature in MVC4, razor engine to do this.

Thanks!

The above removes whitespace.

Gzip is a standard;
IIS has Dynamic Content Compression feature, under Web Server => Web Server => Performance.