What is the role of global.asax?

Answer Posted / joicy

The Global.asax file is an optional file that can contain
declarations of objects, variables, and methods that can be
accessed by every page in an application.The Global.asax
file can contain only the following:

Application events
Session events
<object> declarations
TypeLibrary declarations
the #include directive
The Global.asax file must be stored in the root
directory of the application, and each application can only
have one Global.asax file.

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens if an ASP.NET server control with event-handling routines is missing from its definition?

593


Explain the difference between webfarm and webgardens in .net?

537


Explain the difference between asp and asp.net?

495


What's the difference between viewstate and sessionstate?

558


What is an asp.net validator? And, mention its types.

576






How does asp page work?

535


Explain diff between dataset and datareader?

518


What are Master Pages in ASP.NET? or What is a Master Page?

599


Define transparent caching with aop?

526


Is asp.net mvc front end or backend? : Asp.Net MVC

480


What will happen if the server confugration file and the application confugration file have different values for sassion state ASP.NET?

737


What is a session in programming?

549


What is difference cookie and session?

516


How to fetch a data from one table to another table in asp.net ?

568


Why we go for mvc instead of asp.net? : Asp.Net MVC

480