Pages

Wednesday, March 17, 2010

Moving the ASP.NET Global.asax code from a script tag to a class

Global.asax

<%@ Application Language="C#" Inherits="Global" %>

Global.asax.cs

public class Global : System.Web.HttpApplication
    {

        void Application_Start(object sender, EventArgs e)
        {
                //...
        }
    }

See Also:

No comments:

Post a Comment