Skip to content

Instantly share code, notes, and snippets.

@kiyokura
Created October 26, 2013 12:57
Show Gist options
  • Save kiyokura/7169177 to your computer and use it in GitHub Desktop.
Save kiyokura/7169177 to your computer and use it in GitHub Desktop.
namespace WebRole1
{
[HubName("hello")]
public class HelloHub : Hub
{
public void Hello( string name)
{
Clients.All.SayHello( "hello , " + name);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment