private void Instance_BeginRequest(object sender, EventArgs e)
        {
            HttpApplication app      = (HttpApplication)sender;
            NetHttpInfo     httpInfo = NetHttpInfo.Create(app.Context);

            Console.WriteLine(httpInfo.RequestText);
            Console.WriteLine("\r\n");


            TextResult result = new TextResult("server is OK. " + DateTime.Now.ToTimeString());

            (result as IActionResult).Ouput(app.Context);

            app.CompleteRequest();
        }
        private void Instance_BeginRequest(object sender, EventArgs e)
        {
            HttpApplication app = (HttpApplication)sender;

            if (app == null)
            {
                throw new ApplicationException("不可能的事情!");
            }

            //Console.WriteLine($"HttpModuel Event: BeginRequest: url: {app.Request.Path}");
            //ExecuteEvent(DateTime.Now.ToTimeString() + " : " + app.Request.Url.AbsoluteUri);

            NetHttpInfo httpInfo = NetHttpInfo.Create(app.Context);

            ExecuteEvent(httpInfo.RequestText + "\r\n\r\n");
        }