Bundling and minification Syntax in Asp-net 4.5
In the comments to http://weblogs.asp.net/scottgu/archive/2011/11/27/new-bundling-and-minification-support-asp-net-4-5-series.aspx
it was pointed out , that from proposed syntax is not obvious ,that server processing is invoked.
<link href="styles/css" rel="Stylesheet"/>
<script src="scripts/js" />
To highlight the server processing is involved:
1. runat="server" should be added
2. as well as name of the parameter should be explicit
<link bundle="styles/*.css" rel="Stylesheet" runat="server" />
< script bundle="scriptst/*.js" runat="server" />
< script bundle="customBundle" runat="server" />
Thanks for all the feedback on this item. Please be advised that we have moved this item to the ASP.NET User Voice site (http://aspnet.uservoice.com) and transferred the associated votes. We are going to close this item out and release your votes back to you so you can apply them elsewhere. Note that the votes will remain with the item on the other site, so the item will not lose any of its current vote count, and you will recoup your votes on this site. To track the status, post comments, or add votes on this item, please go to http://aspnet.uservoice.com/forums/41199-general-asp-net/suggestions/3090816-bundling-and-minification-syntax-in-asp-net-4-5 and sign in using your current user ID and login.