I can not find a decent answer to this question. I see that there are several other similar questions that have been asked, but they do not give me decent answers.
In Visual Studio, is there a way to compress all files that should be compressed (HTML, XML, CSS) automatically when publishing the application?
It seems a little pointless and wasteful to have all the extra space, comments, and other things on the server. I searched for various NuGet extensions and packages, but could not find anything that would provide me with a solution.
Blanky
source share