Asp.net MVC4 - Bundling and Minification
While this article may be very simple and straightforward, there are a few concepts here I think are important to note . In my next article will be looking more in depth on the idea of creating a customized Web.config, but for now with this article, I just want to look at activating the bundling and minification feature by using the xml tags inside a MVC's Web.config. This feature is only available i n ASP.NET 4.5 and above. The First Problem With the following inside your Web.config... (transform is with a Captial T.) And with either of the following inside your build config or customized Web.config (I.E. Web.Release.config) This also can be achieved by doing the following... In both snippets of code you do not need to use the "xdt:Locator" attribute (used only in cases where there are multiples elements of the same name . What you may not see is that in the Web.config w...