Home > DeveloperSection > Forums > Automatically remove HTML comments in Release mode
Lillian Martin

Total Post:27

Points:189
Posted on    January-29-2015 10:18 PM

 ASP.Net HTML  ASP.NET MVC 
Ratings:


 1 Reply(s)
 669  View(s)
Rate this:

I am trying to find a way to automatically remove HTML comments in release mode for two main reasons

  • Minification: there is a lot of comments in some pages
  • Comments contain development notices and TODO lists (which are exposed to end user).

I am using ASP.NET MVC and looking for something in the same spirit as the bundling and minification features.



Anurag Sharma
Anurag Sharma

Total Post:40

Points:280
Posted on    January-29-2015 10:39 PM

@*

This is a server side

multiline comment

*@


Don't want to miss updates? Please click the below button!

Follow MindStick