web-optimization Questions

9

Solved

I recently went through my CSS file and switched all my six-digit hexadecimal codes to simple three-digit codes (for example, my #FDFEFF got shortened to #FFF). It renders pretty much the exact sam...
Lallans asked 24/6, 2010 at 9:53

3

Solved

I just created a new MVC 5 app on VS 2013 RTM. For some reason background image url in my CSS files were not being transformed. So, to debug the issue, I created my custom CssRewriteUrlTransform...
Wringer asked 27/10, 2013 at 14:21

4

Solved

We are using MVC Bundling in our site, CssRewriteUrlTransform makes sure that the image urls work from the dynamic bundle css file. But this only works when not using a virtual directory, i.e h...
Ludivinaludlew asked 4/11, 2013 at 9:57

1

My angular application is backed by ASP.NET webapi, where I'm serving up an index.html and angular handles everything else from there. I'd like to use bundling, but I can't see how I'd do this. Do ...
Xe asked 2/3, 2014 at 5:14

1

bundles.Add(new StyleBundle("~/a/b/c") .Include("~/Content/font-awesome.css", new CssRewriteUrlTransform())); I have this bundling. The font-awesome css has a url defined as url('../fonts/fontaw...
Seldom asked 25/5, 2015 at 9:14

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...

1

Solved

In the default template of the ASP.Net web forms for Visual Studio 13, there is a tag webopt: <webopt:bundlereference runat="server" path="~/Content/css" /> After searching, it seems it is...
Kirstinkirstyn asked 13/10, 2014 at 6:31

1

Solved

So I was persistently getting this error on the System.Web.Optimization package Could not load file or assembly 'System.Web.Optimization' or one of its dependencies. The located assembly's manifes...
Banuelos asked 2/10, 2013 at 9:55

1

I am working on an MVC4 application where I'm using WebOptimization to do all of my resource handling (cat and min). I have a few pages which are very similar, but need a few varying styles on a pa...
Wolenik asked 10/5, 2013 at 16:0

1

I've created a bundle of various script files that I want to be combined/minified together. In my code behind file (yes, sorry it's in VB!) I add it to a <asp:placeholder /> on the <head&g...
Quarterstaff asked 17/4, 2013 at 20:48

2

I'm presently working on a project that uses the ASP.NET Web Optimization library (v 1.1.0-Beta1) in conjunction with the Bundle Transformer extension (v 1.7.3-Beta1 for core, 1.7.0-Beta1 for LESS)...

1

I have virtual directory on IIS which contains all javascript and css files. Is it possible to include those files into ASP.NET MVC app using Bundles. I have already tried something like this: bu...
Merylmes asked 12/2, 2013 at 14:54

1

Solved

As far as I can tell (because frankly documentation on System.Web.Optimization is very sparse), the way bundling works in ASP.NET is that you register a set of files (Javascript or CSS, correspondi...
Kitts asked 25/10, 2012 at 9:3

1

Solved

I have a superfish jquery plugin, which has 4 js and 1 css: <script src="~/Scripts/JQ_Addons/SuperFish/jquery.bgiframe.min.js"></script> <script src="~/Scripts/JQ_Addons/SuperFish/h...
Shaff asked 24/11, 2012 at 8:8

1

Solved

I am trying to bundle jQueryUI in one request. Global.asax: var cssjQuery = new StyleBundle("~/Content/BundleCSS/jQuery"); cssjQuery.IncludeDirectory("~/Content/themes/base", "*.css"); Layout: ...
Fink asked 1/10, 2012 at 8:15

4

Solved

I'm trying to come up with ways to speed up my secure web site. Because there are a lot of CSS images that need to be loaded, it can slow down the site since secure resources are not cached to disk...
Mistreat asked 12/12, 2008 at 3:46

3

Solved

Is there a way that I can Programmatically set an Expires Header in code with ASP.NET? Specifically I need to set it on an entire folder and all sub-folders, and the folder contains only static fil...
Walleyed asked 18/12, 2009 at 11:50

10

Solved

I'm trying to profile the performance of a web site that I'm fairly confident is being slowed down by the loading of JavaScript files on the page. The same JavaScript files are included several ti...
Vu asked 4/6, 2009 at 12:37
1

© 2022 - 2024 — McMap. All rights reserved.