This project has moved. For the latest updates, please go here.

Disable Minification on specific controller from ASP.NET MVC Web Application

Oct 28, 2013 at 7:30 PM
Hi!

I had configurated the minification process on web.config, but a i need to disable the process in only one Controller of my asp.net mvc application. I didn´t found anything on documentation, only to Web Forms.

Is there a way to do this?

Thanks in advance.

Sorry for my english.
Coordinator
Oct 28, 2013 at 7:50 PM
Hello, Elurian!

In ASP.NET MVC instead of HTTP modules is better to use the action filters attributes. I recommend you to remove HTTP modules from the Web.config file and read documentation section «WebMarkupMin: ASP.NET MVC Extensions».

Do you speak Russian?