Example #1
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);

            var applicationService = new ApplicationService();
            applicationService.Add("ConnectedClients", new List<string>());
        }
Example #2
0
 public ChatController()
 {
     ApplicationService = new ApplicationService();
 }
Example #3
0
 public ChatHub()
 {
     ApplicationService = new ApplicationService();
 }