public static void UcApplicationStart(HttpApplicationState app) { UserDS.UserDSDataTable dt = BllProxyUser.GetUsersByRole(1, 1); if (dt.Rows.Count == 0) { BllProxyUser.InsertUser("admin", "Admin", "Admin", "welcome", 1, ""); } UserPool userPool = new UserPool(); app.Add("UserPool", userPool); SosBot bot = new SosBot(userPool); app.Add("bot", bot); }