Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Web Essentials vs. MVC Bundling

Web Essentials for VS20XX offers a bundling feature which I've used. I haven't ever really used the MVC bundling feature. Are there any major differences in functionality? Is it best practice to use the MVC?

In the actual case in question, I'm using OWIN/Katana, MVC 5.

like image 884
Sprague Avatar asked Feb 07 '26 14:02

Sprague


1 Answers

In addition to Shoe's answer, I think these are also worth mentioning:

  • Less, Sass plugins often require extra work and problems: I have tried dotless, but it couldn't compile Bootstrap Less source, as it's engine was outdated. I have tried other plugin, which required JavaScript engine, which required installing C++ Redistributables on the server.
  • WebEssentials compiles, minifies and bundles files on save and build, while MVC bundling does that on AppStart. The effect is longer application start time, what can be a problem when IIS kills application often in a favour of other applications
like image 104
krzychu Avatar answered Feb 09 '26 06:02

krzychu