title: signalR updating client web page with new items
body: <p>I'm using MVC 5 and I have my hub class like this :</p>
  
  <pre><code> public class EventHub : Hub
  {
      public void broadcastEvent(string userId = "",
                                 string source = "",
                                 string application = "",
                                 string type = "",
                                 string importance = "",
                                 string message = "",
                                 string timeStamp = "",
                                 string stackTrace = "",
                                 string exceptionMessage = "",
                                 string innerExceptionMessage = "",
                                 string objectContext = "",
                                 string serverName = "",
                                 string actionResult = "")
      {
          Clients.All.broadcastEvent(userId, source, application, type, importance, message, timeStamp, stackTrace, exceptionMessage, innerExceptionMessage, objectContext, serverName);
      }
  }
  </code></pre>
  
  <p>and I have this Code in my web page:</p>
  
  <pre><code> $(function () {
      var app = $.connection.eventHub;
      app.client.broadcastEvent = function (userId,
                                  source,
                                  application, 
                                  type,
                                  importance,
                                  message,
                                  timeStamp,
                                  stackTrace,
                                  exceptionMessage,
                                  innerExceptionMessage,
                                  objectContext,
                                  serverName,
                                  actionResult) {
          // Html encode display name and message. 
          var encodedName = $('&lt;div /&gt;').text(name).html();
          var encodedMsg = $('&lt;div /&gt;').text(message).html();
          // Add the message to the page.
          $('.row').append("div&gt;asfdasdf&lt;/div&gt;");
      };
  
      $.connection.hub.start().done(function () {
      });
  });
  </code></pre>
  
  <p>And I also added the MapHub in the Startup of my project. My Question is:</p>
  
  <p>On the server side I want to update the webpage as soon as new event has been created. How can I trigger the broadcast method on demand ? I can't just create an instance of the hub and call the method.</p>