asp.net-optimization Questions

3

Solved

When rendering the styles from bundles when optimization is on you get this: <link href="/Content/themes/base/css?v=UM624qf1uFt8dYtiIV9PCmYhsyeewBIwY4Ob0i8OdW81" rel="stylesheet&q...
Vinegarroon asked 8/3, 2013 at 9:17

6

For each controller have a folder (with the same name controler), and for each action a script file. For each file is creating a bundle following the pattern: "~/Scripts/Controllers/{controller-...
Boulder asked 8/5, 2013 at 0:15

3

Solved

I have a asp.net MVC 4 project with MEF and RavenBD. When the project loads it throws this exception : Could not load file or assembly Antlr3.Runtime.dll I have found that both RavenDB and WebGre...

8

Solved

I'm just trying out ASP.NET 4.5 bundling and minification, and ran into an issue. I've got around 10 css files, of which 2 were originally referenced in the layout using the attribute media="scree...

16

Solved

My question is similar to this: ASP.NET MVC 4 Minification & Background Images Except that I want to stick with MVC's own bundling if I can. I'm having a brain crash trying to figure out w...
Karenkarena asked 6/7, 2012 at 4:39

12

Solved

I'm working on an MVC 4 project started in Visual Studio 2010. Right now I'm working on a machine with Visual Studio 2012 as I don't have access to the machine I was originally working on. I tried ...
Barrelchested asked 23/4, 2013 at 21:13

8

Solved

This issue has many solutions, please read all answers below, they might help you solve your problem too. If you find a new way to solve this, please document in your answer I am trying to add Sy...

15

I am trying out ASP.NET Bundling with ASP.NET MVC 4 application. The situation is that I want to make a CDN style service, which has JS and CSS files to which you can address from other sites with ...

4

Solved

I'm trying to use ASP.Nets BundleTable to optomize some javascript files, but have run into a problem where a specific addon (jQuery-Timepicker) fails to work when the code has been minified. See h...

3

Solved

In MVC 4 we have bundles. While defining the bundles we can use wildcards like * for all files in a folder. In the example below what does -{version} mean? public static void RegisterBundles(Bund...

20

Solved

I have bin deployed an MVC4 application to my hosting provider, based on advice given here and one or two on-the-fly fixes, but the most immediately apparent problem is that the bundling for css do...
Opportunity asked 16/8, 2012 at 10:40

11

Solved

I am runing an App on app harbor written in MVC4. A bundle of css files doesn't work. In my local computer in debug mode I see the code of the App and I see the files. The App works as expected. ...
Manicotti asked 22/8, 2012 at 20:52

14

Solved

I have debug="true" in both my web.config(s), and I just don't want my bundles minified, but nothing I do seems to disable it. I've tried enableoptimisations=false, here is my code: //Javascript b...
Manchester asked 14/8, 2012 at 1:55

6

Solved

... or how I learned to stop worrying and just write code against completely undocumented APIs from Microsoft. Is there any actual documentation of the official System.Web.Optimization release? 'cu...

6

Solved

I wonder what I don't do correct here. I am using ASP.NET C# MVC4 and I want to take use of new css/js optimization feature. Here is my HTML part @Styles.Render("~/content/css") Here is my Bund...
Confutation asked 2/9, 2012 at 22:3

2

Solved

I want to change the cache headers sent from a bundle request. Currently it is varying by User-Agent but I don't want it to, is there a way to change the headers sent by a bundle request? After a ...

2

I want to be able to minify/bundle my javascript files in a production environment while having them unminified/unbundled when debugging locally; however, the default WebForms site in VS2012 does n...
Daggerboard asked 3/4, 2014 at 20:35

1

I am doing so memory analysis for our project there is excessive usage of memory. This is what I got when I did a deep analysis.
Homoiousian asked 16/1, 2015 at 9:28

5

I have an MVC 3 / .NET 4.0 application running on Visual Studio 2012. I just created a static bundle for all my JS and CSS files. It first squawked at me for using paths without "~/" at the...
Schoolhouse asked 27/9, 2012 at 12:56

3

Solved

I created a new ASP.NET Web Forms Project through Visual Studio 2012. Unfortunately, the default Site.Master file is very confusing. (I am posting these questions together because they are very rel...
Filibertofilibuster asked 5/9, 2012 at 22:13

4

Solved

I'm trying to use the new bundling feature in MVC 4 with Twitter bootstrap and it seems to me like the paths to the glyphicons png-files int the css get's messed up in some way. Heres my code: bu...

2

Solved

Using the latest version of MVC4 I can't minify javascript when it contains reserved words as key names! See the error below with the valid javascript that should have been minified. Does anyone ...

2

Solved

I am running Sitecore 8 (Update 5) on .NET 4.6 and am running into an issue with Bundles returning a 404 error. My layout view: @using Sitecore.Mvc.Presentation @using Sitecore.Mvc @model Render...
Proceed asked 27/8, 2015 at 20:32

4

I was wondering if anybody can help me with bundling and minifying using the new optimization namespace shipped with MVC 4. I have a Multitenant-application in which I want to decide which js files...

6

Solved

I use a jQuery library for Google Maps, and it depends on the Google scripts to be loaded first. I'd like to be able to include both in the bundle as such: bundles.Add(new ScriptBundle("myfoobund...

© 2022 - 2024 — McMap. All rights reserved.