Ejemplo n.º 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>());
        }
Ejemplo n.º 2
0
 public ChatController()
 {
     ApplicationService = new ApplicationService();
 }
Ejemplo n.º 3
0
 public ChatHub()
 {
     ApplicationService = new ApplicationService();
 }