title: Sending JSON with SignalR
body: <p>I want to send objects from Javascript to Server using Signalr, but the server side method isn't invoked. </p>
  
  <pre><code>// Model-Class generated by EF5.0
  public partial class ttFragen
  {   
       ...
      public long ID { get; set; }
      public Nullable&lt;long&gt; UserID { get; set; }
      public string Titel { get; set; }
      public string Text { get; set; }
      public Nullable&lt;int&gt; ProductID { get; set; }
      public Nullable&lt;int&gt; Score { get; set; }
      public Nullable&lt;System.DateTime&gt; Date { get; set; }
  }
  
  public class Chat : Hub
  {
  
      public void Send2(ttFragen frage)
      {
         ...
      }
  
  }
  </code></pre>
  
  <p>Client-Code:</p>
  
  <pre><code> $.connection.hub.start().done(function() {
  
   $("#broadcast").click(function () {
   var frage = {
              ID: -1,
              UserID: -1,
              Titel: "titel2",
              Text:"testsst",
              ProductID: -1,
              Score: -1,
              Date : null
             };
  
  chat.server.Send2(frage); // nothing happens
  });
  </code></pre>