Beispiel #1
0
 public void Send(string name, string message)
 {
     // Call the broadcastMessage method to update clients.
     Clients.All.broadcastMessage(name, message);
     //CloudTable table = MessageTable();
     //ChatMessage msg1 = new ChatMessage(name, DateTime.Now.ToString(), message);
     //var v = table.Execute(TableOperation.InsertOrReplace(msg1));
     _dataLayer.AddMessage(name, message);
 }