title: how to setup a C# winforms application to host SignalR Hubs?
body: <p>I have read through the SignalR docs and watched a few of the videos, however I can not get SignalR to host within a winforms application.</p>
  
  <p>I have tried using source code off the SignalR wiki: <a href="https://github.com/SignalR/SignalR/wiki/Self-host" rel="nofollow">https://github.com/SignalR/SignalR/wiki/Self-host</a></p>
  
  <p>If you look at the "Full Sample - Hubs", what is the "server" variable? I do not understand how this works or how to convert it to C#. According to the wiki "The default SelfHost implementation is built on HttpListener and can be hosted in any kind of application (Console, Windows Service etc). " </p>
  
  <p>I would like to host SignalR in C# and consume it in asp.net. Could anyone please shed some light on this for me?</p>