What is the role of global.asax?

Answer Posted / abhishek maitrey

Global.asax is a file, as the name suggests that resides in
the root directory (in the global area) of your
application. It is inaccessible over the web but is used by
the ASP.NET application if it is there. It is a collection
of event handlers that you can use to change and set
settings in your site. The events may occur from one of two
places - The HTTPApplication object and any HTTPModule
object that is specified in web.config or machine.config.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are html helpers in asp.net?

515


What is datagrid asp.net?

489


Is asp.net a programming language?

527


How to set the pane area to transparent of a scrollPane component.?

555


What is the difference between CC and BCC?

603






Explain the difference between webfarm and webgardens in .net?

539


What is semantic gap?

610


How to find last error which occurred in Asp.net ?

671


What are the differences between primary foreign and unique keys?

507


What are the types of validation in asp net?

538


How to Separate background image and front image from original picture....

550


Differentiate between structure and class.

569


Does google crawl redirects?

509


Explain diff between dataset and datareader?

520


What is Web API?

638