Exemplo n.º 1
0
        public void Configuration(IAppBuilder app)
        {
            var hubConfiguration  = new HubConfiguration();
            var sqlLiteController = new SQLiteController();

            hubConfiguration.EnableDetailedErrors    = true;
            hubConfiguration.EnableJavaScriptProxies = true;
            app.MapSignalR(hubConfiguration);

            sqlLiteController.CreateDbFile();
            sqlLiteController.CreateTables();
            sqlLiteController.InitPlugins();
            MessageController.StartMessageThread();
        }