Où est le Mondial.asax.cs fichier?

Je suis avec VS 2008. J'ai créé un nouveau Asp.net projet de site web à partir d'un Fichier->New->Site web>Asp.net Site web.

Maintenant, je veux ajouter le Mondial.asax ainsi que l' .cs fichier au projet. J'ai donc clic Droit sur le projet ->Ajouter un Nouvel Élément->Global Classe d'Application. Puis j'ai cliqué sur le bouton ajouter.

Le Mondial.asax fichier s'est ajouté au contenu sous

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

 <script runat="server"%>

    void Application_Start(object sender, EventArgs e) 
    {
        //Code that runs on application startup

    }

    void Application_End(object sender, EventArgs e) 
    {
        // Code that runs on application shutdown

    }

    void Application_Error(object sender, EventArgs e) 
    { 
        //Code that runs when an unhandled error occurs

    }

    void Session_Start(object sender, EventArgs e) 
    {
        //Code that runs when a new session is started

    }

    void Session_End(object sender, EventArgs e) 
    {
        //Code that runs when a session ends. 
        //Note: The Session_End event is raised only when the sessionstate mode
        //is set to InProc in the Web.config file. If session mode is set to StateServer 
        //or SQLServer, the event is not raised.

    }

</script>

C'est très bien. Mais où est le Mondial.asax.cs fichier?

Grâce

InformationsquelleAutor apurva | 2011-06-09