asp.net-bundling Questions

2

I tried following this answer about testing unit tests but when I try to enumerate the files in the bundle to test, I always get count zero. What's the problem with the following code? [TestFixtu...
Dwight asked 19/9, 2014 at 9:25

0

I am receiving a JavaScript error due to the ASP.net bundle functionality, the JS code works fine before it gets minified but not after. The issue Is have a isSelected variable that contains a bo...

0

We hit a performance issue recently that highlighted something that I need to confirm. When you include a bundle like this: @Scripts.Render("~/jquery) This appears to be running through (identi...
Franklinfranklinite asked 19/3, 2016 at 0:27

0

Are there any existing solutions for run-time bundling of ES6 modules? I'm looking to simplify JavaScript code development in a MVC5 web app. We're having issues with large, unwieldy JS files, so I...
Flatcar asked 6/10, 2015 at 13:49

1

Solved

The bundling feature is excluded from MVC 6 and the suggested method is to do bundling using gulp tasks. Using bundling we used to get a random string at the end of the included css/javascript fil...

1

Solved

I'm ASP.NET MVC v4 for my application, and I'm using the web optimization features (bundling and minification of scripts and styles). Now, what I understand is (please correct me if wrong), the op...

3

Solved

How can I have JavaScript bundling working from another folder (aside from the Script folder). If I do this: bundles.Add(new ScriptBundle("~/bundles/search").Include("~/Views/Search/*.js")); The...
Byrne asked 13/12, 2014 at 15:32

1

Solved

Some of my styles use url(../img/sprites/main_sprite.png) to local resources in development and stage. However in production I use CDN and all my static resources are on it. Is it possible to trans...
1

© 2022 - 2024 — McMap. All rights reserved.