Tell About Global.asax ?

Answer Posted / amrit sidhu

The Global.asax file, sometimes called the ASP.NET
application file, provides a way to respond to application
or module level events in one central location. You can use
this file to implement application security, as well as
other tasks.
The Global.asax file is in the root application directory.
While Visual Studio .NET automatically inserts it in all
new ASP.NET projects, it's actually an optional file. It's
okay to delete it—if you aren't using it. The .asax file
extension signals that it's an application file rather than
an ASP.NET file that uses aspx.
The Global.asax file is configured so that any direct HTTP
request (via URL) is rejected automatically, so users
cannot download or view its contents. The ASP.NET page
framework recognizes automatically any changes that are
made to the Global.asax file. The framework reboots the
application, which includes closing all browser sessions,
flushes all state information, and restarts the application
domain.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an axd file?

683


What are the modes of updation in an updatepanel?

649


What is http pipeline in asp.net?

603


What is server transfer?

582


What is the difference between CC and BCC?

699






Explain the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

602


How asynchronous call can be implemented using delegates?

643


How do you secure your connection string information?

593


What are the navigation ways between pages available in ASP.NET?

658


What is sql data source control in asp.net?

668


Where sessions are stored?

766


What is server side routing?

575


How to store checkbox value in database in asp.net mvc? : Asp.Net MVC

591


Explain about asp.net 2.0 themes?

635


What are the different types of events are occured when a client requests an ASP.NET page from IIS server?

697