示例#1
0
        protected void Application_Start(object sender, EventArgs e)
        {
            System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls11 | System.Net.SecurityProtocolType.Tls12;
            RegisterRoutes(RouteTable.Routes);

            using (DALTools dalTools = new DALTools())
            {
                dalTools.CheckGodRoleExists();
                dalTools.CheckGodUserExists();
            }
        }