Is there any way to have a file extension in a bundle name?
I would like to have define a bundle like this: bundles.Add( new StyleBundle("~/style.css").Include( //... )); If the bundle name is just "~/style" this works, but with the file extension it always returns a 404. I suspect the server searches for CSS and JS files on the drive and ignores the bundling system, but I can't find anyone else who is trying to include file extensions in bundle names. Is this possible to do without something like a URL rewrite? Darin Dimitrov You could add the following to your <system.webServer> section in web.config: <modules runAllManagedModulesForAllRequests="true