Tuesday, 15 March 2011

webforms - How does webopt:bundlereference work in ASP.Net? -



webforms - How does webopt:bundlereference work in ASP.Net? -

in default template of asp.net web forms visual studio 13, there tag webopt:

<webopt:bundlereference runat="server" path="~/content/css" />

after searching, seems bundling , minification. there official documentation tag? unable find one. wanted know, how work? if there minified file in content folder, taking file. how can alter behaviour? how path value translate, since there no folder css within content folder?

the webopt element webforms command wrapping bundling , minification microsoft.aspnet.web.optimization namespace. uses webgrease actual optimization feature.

i don't think there setting though allow ignore minified content. generally, if it's minified utilize since figures doesn't need spend time repeating job.

the source code on codeplex documentation.

asp.net webforms bundling-and-minification web-optimization

No comments:

Post a Comment