1

Closed

refrences resources when needed

description

hi,
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 3:01 AM by rushfrisby

comments

rushfrisby wrote May 1, 2012 at 3: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 4:35 AM

wrote Jun 9, 2012 at 3:01 AM

wrote Feb 13, 2013 at 9:24 PM

wrote May 16, 2013 at 3:23 AM