title: SignalR MVC crossdomain $.connection is undefined
body: <p>i'm having a pretty annoying issue with signalr in my mvc application. </p>
  
  <p>I've got a signalr server in it's own project under (localhost:49648)</p>
  
  <p>The application that is calling said server references the following from it:</p>
  
  <pre><code>&lt;script src="http://localhost:49648/Scripts/jquery.signalR-2.2.0.js"&gt;&lt;/script&gt; 
  &lt;script src="http://localhost:49648/signalr/hubs"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>JQuery 2.1.4 is also referenced at the top of my application (so i've ruled out script overlapping)</p>
  
  <p>Essentially, <strong>$.connection</strong> is always returned as <strong>undefined</strong> in MVC only. The required files are indeed loaded when i check the source files (debug). The server does accept cross-domain requests. I've also tried running the exact code written in the MVC view in a standard html file at the project root and it works without issue. </p>
  
  <p>Any idea why MVC doesn't recognize the connection?</p>