title: Using generic methods on SignalR Hub
body: <p>I'm creating a Hub class for my SignalR server and wanted to use a generic method which will save me from tons of lines of code. But SignalR is giving me errors when I try to Invoke the server code below from a Xamarin.iOS client which also in C#.</p>
  
  <p><em><strong>Server Code</em></strong></p>
  
  <pre><code>public List&lt;T&gt; SendDataToClient&lt;T&gt;() where T : BusinessEntityBase
  {
     return SomeDBManager.GetItems&lt;T&gt;();
  }
  </code></pre>
  
  <p><em><strong>Client Code</em></strong></p>
  
  <pre><code>var list = await hubProxy.Invoke&lt;List&lt;Article&gt;&gt;("SendDataToClient");
  </code></pre>
  
  <p>Am I doing something wrong here or is it just impossible to use generic methods in SignalR Hubs?</p>