title: SignalR echo/negotiate not found?
body: <p><strong>Index.cshtml</strong></p>
  
  <pre><code>@{
      ViewBag.Title = "Index";
  }
  &lt;script src="~/Scripts/jquery.signalR-2.0.0.min.js"&gt;&lt;/script&gt;
  &lt;script&gt;
  $(function () {
      var connection = $.connection('/echo');
  
      connection.received(function (data) {
          $('#messages').append('&lt;li&gt;' + data + '&lt;/li&gt;');
      });
  
      connection.start().done(function () {
          $("#broadcast").click(function () {
              connection.send($('#msg').val());
          });
      });
  
  });
  &lt;/script&gt;
  &lt;input type="text" id="msg" /&gt;
  &lt;input type="button" id="broadcast" value="broadcast" /&gt;
  
  &lt;ul id="messages"&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p><strong>startup.cs</strong></p>
  
  <pre><code>using Microsoft.Owin;
  using Owin;
  using UI;
  
  namespace UI
  {
      public class Startup
      {
          public void Configuration(IAppBuilder app)
          {
              app.MapSignalR();
          }
      }
  }
  </code></pre>
  
  <p><strong>MyConnection.cs</strong></p>
  
  <pre><code>public class MyConnection : PersistentConnection
  {
      protected override Task OnConnected(IRequest request, string connectionId)
      {
          return Connection.Send(connectionId, "Welcome!");
      }
  
      protected override Task OnReceived(IRequest request, string connectionId, string data)
      {
          return Connection.Broadcast(data);
      }
  }
  </code></pre>
  
  <p>I m new to signalR. When I start the project I get following error: </p>
  
  <blockquote>
    <p><a href="http://localhost:49820/echo/negotiate?clientProtocol=1.3&amp;_=1383403303981" rel="nofollow noreferrer">http://localhost:49820/echo/negotiate?clientProtocol=1.3&amp;_=1383403303981</a> 404 (Not Found) </p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/VFYQx.png" alt="enter image description here"></p>
  
  <p>What is the reason of this and how can I fix it? I cant find any solution about this problem. (.net framework 4.5 and signalR 2.0)</p>