refrences resources when needed


awesome work man,
i just have one issue, when you work on large website, some pages or partial views have js and css files specific to them, so it is not wise to include all of them in layout page, and only load them when those pages or partial views are loaded, so the question is how do i do that, specially in AJAX loaded pages cases.
Closed Jun 9, 2012 at 2:01 AM by rushfrisby


rushfrisby wrote May 1, 2012 at 2:44 AM

Hi DevMondo,

There is a method that I hadn't documented that can be used on a page by page basis. It is BundleTable.CompositeUrl(Type type, params string[] virtualUrls). It composes a bundle and outputs the url all in one shot. Give that a try.

wrote May 1, 2012 at 3:35 AM

wrote Jun 9, 2012 at 2:01 AM

wrote Feb 13, 2013 at 8:24 PM

wrote May 16, 2013 at 2:23 AM