Top "Bundling-and-minification" questions

Bundling and minification are used to optimize web content by reducing the number of requests to the server and as well as the size of requested assets (such as CSS and JavaScript).

Is it possible to call Scripts.Render or Styles.Render from the code behind of an ASPX file?

Is there a way to replicate the behaviour of the @:Scripts/Styles.Render helper from code behind? If I reference …

c# asp.net bundling-and-minification
Bundled css not displaying after deploy ... ASP.NET MVC4

When deploying my MVC application, the .NET 4.5 framework is bundling & minifying my CSS. However, the resultant file is empty, …

asp.net-mvc bundling-and-minification
ASP.NET MVC 4 app with bundling and minification, why is minification enabled in debug mode?

I've just migrated an ASP.NET MVC 3 project to MVC 4 / .NET 4.0, and installed NuGet package Microsoft.AspNet.Web.Optimization in …

asp.net-mvc-4 bundling-and-minification asp.net-optimization
Angular 2: Reduce app size (in addition to bundling/minification)

I have a small-medium size (~28 KB including just the (TypeScript transpiled) JS + HTML templates) Angular 2 app. It's based originally on …

angular rxjs production-environment bundling-and-minification jspm
Require.js optimization vs asp.net mvc 4 bundling and minification

Off lately I saw Mvc 4 has included bundling and minification of several scripts and css into a single link which …

asp.net-mvc-4 requirejs bundling-and-minification
ASP.NET bundle cache not clearing after modifications

I have an ASP.NET MVC4 application that (I think) has been working correctly with JavaScript and CSS bundling since …

asp.net-mvc asp.net-mvc-4 bundling-and-minification
Bundle Minification not working when publishing WebForms App

I'm trying to use bundle minification for some .css and .js files. My bundle config is the following: public static …

c# webforms bundling-and-minification
asp.net mvc exclude css file from bundle

I have such bundle bundles.Add(new StyleBundle("~/Content/themes/default/css") .IncludeDirectory("~/Content/themes/Default", "*.css")); but I want …

asp.net-mvc bundling-and-minification
Bundling and minification without ASP.NET MVC

Is it possible to use bundling and minification from Microsoft.AspNet.Web.Optimization without having an MVC project? I'm creating …

c# asp.net asp.net-mvc visual-studio-2012 bundling-and-minification