Skip to content

Instantly share code, notes, and snippets.

@kamlekar
Created December 7, 2012 10:13
Show Gist options
  • Save kamlekar/4232300 to your computer and use it in GitHub Desktop.
Save kamlekar/4232300 to your computer and use it in GitHub Desktop.
Chat Application (work in progress) User.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.AspNet.SignalR.Hubs;
namespace serverNameExample
{
public class User
{
public User(string ConnID, string Username)
{
Name = Username;
ConnectionID = ConnID;
}
public string Name { get; set; }
public string ConnectionID { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment