示例#1
0
        protected void Application_Start()
        {
            DebugWriter.Write("Global.asax::Application_Start");

            AreaRegistration.RegisterAllAreas();

            RouteTable.Routes.MapRoute(
                name: "Default",
                url: "{controller}/{action}/{id}",
                defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
                );
        }
示例#2
0
 protected void Application_EndRequest(object sender, EventArgs e)
 {
     DebugWriter.Write("Global.asax::Application_EndRequest");
 }