I have been trying to implement bundling and minification for my existing asp.net webforms project and unfortunately it is ending up with 404 responses.
Let me first share the steps I have followed.
public static void RegisterBundles(BundleCollection bundles)
<%: System.Web.Optimization.Scripts.Render("~/bundles/modelJs") %>
Well, the solution turns out to be very simple. Just added '/' after bundling folder which is
modeljs in this case.
Unfortunately, I didn't find this in any available source codes so I ended up wasting a lot of time. :-/