title: Using CDN in MVC script bundle. What am I missing?
body: <p>I am trying to use a CDN for loading jquery. I have read <a href="http://www.asp.net/mvc/tutorials/mvc-4/bundling-and-minification" rel="noreferrer">this</a> article and this seems like it should be very straightforward.</p>
  
  <p>My script bundle is defined as follows.</p>
  
  <pre><code>bundles.UseCdn = true;
  bundles.Add(new ScriptBundle("~/bundles/jquery", "http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.1.min.js").Include(
                          "~/Scripts/jquery-{version}.js"));
  </code></pre>
  
  <p>I am including it on the page as follows:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8" /&gt;
      &lt;meta name="viewport" content="width=device-width" /&gt;
      &lt;title&gt;@ViewBag.Title&lt;/title&gt;
      @Styles.Render("~/Content/css")
      @Scripts.Render("~/bundles/modernizr")
  &lt;/head&gt;
  &lt;body&gt;
      @RenderBody()
  
      @Scripts.Render("~/bundles/jquery")
      @RenderSection("scripts", required: false)
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>But when I look at firebug it seems that jquery is being loaded from localhost.
  <img src="https://i.stack.imgur.com/hcnZT.png" alt="firebug inspection"></p>
  
  <p>I have tried  with both realease and debug builds.
  What am I missing? I think this should be quite straightforward. Thanks.</p>