AleIISTest.Global.Application_Start C# (CSharp) Метод

Application_Start() приватный Метод

private Application_Start ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void
        void Application_Start(object sender, EventArgs e)
        {
            // Start the event loop.
            EventLoop.Start();

            // Get the ALE server instance and wire up your middlware.
            ALE.Web.Server.Create()
                .Use((context, next) =>
                         {
                             context.Response.Write("Hello World");
                             next();
                         })
                .Use((context, next) =>
                         {
                             context.Response.Write("<br/>No seriously, I said hello.");
                             next();
                         });
        }