Skip to content

Instantly share code, notes, and snippets.

@gistfrojd
Created October 14, 2014 07:47
Show Gist options
  • Save gistfrojd/d0d08581ee08a891e0ea to your computer and use it in GitHub Desktop.
Save gistfrojd/d0d08581ee08a891e0ea to your computer and use it in GitHub Desktop.
.NET MVC Bundles when 404 not found
<!-- To get bundles to work when not debugging (as in minified) you might need this in web.config -->
<!-- It's only the bundlemodule you need, the other is just to show where it should be placed -->
<system.webServer>
<modules runAllManagedModulesForAllRequests="true">
<add name="BundleModule" type="System.Web.Optimization.BundleModule"/>
</modules>
</system.webServer>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment