title: Get assets like css and js files from azure blob storage and register it using RegisterBundles in MVC
body: <p>Is it possible to get css/js files from azure blob storage and register it as part of a bundle using, "BundleConfig.RegisterBundles" ?</p>
  
  <p>I tried something similar with no luck,</p>
  
  <pre><code>    public static void RegisterBundles(BundleCollection bundles)
      {
          bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                      "~/assets/js/site-{version}.js"));            
      }
  </code></pre>
  
  <p>"~/assets/js/site.js" is the virtual path to the blob and I've include a url rewrite rule in my web.config</p>
  
  <pre><code>    &lt;rule name="Assest"&gt;
        &lt;match url="^assets/(.*)$" /&gt;
        &lt;action type="Redirect" url="http://azure.datafiles.com/assets/{R:1}" /&gt;
      &lt;/rule&gt;
  </code></pre>