What is the Global.asax used for?

Answer Posted / rahul

The Global.asax file is an optional file used to declare
and handle application and session-level events and objects
for an ASP.NET web site running on an IIS Web Server. The
file contains ASP.NET program code, and is the .NET
counterpart of the Global.asa file used for ASP. The
Global.asax file resides in the IIS virtual root of an
ASP.NET application.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we assign page-specific attributes?

619


Explain server-side scripting?

576


To bind columns manually which tags do you need to add within the asp:datagrid ?

557


How to handle errors in Web API?

628


What is the life cycle of web page?

529






Is react a template engine?

525


Do gac'ed assemblies have fulltrust?

650


What is the use of response redirect in asp.net?

581


How to Insert/Add in ASPXgridview

579


How many types of session in ASP.NET

589


What is the use of worker process in asp.net?

533


Give an example of what might be best suited to place in the application_start and session_start subroutines?

528


What is application state?

518


What is postback and autopostback in asp.net?

535


How can we create pie chart in asp.net?

591