Tell About Global.asax ?

Answers were Sorted based on User's Feedback



Tell About Global.asax ?..

Answer / 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

Tell About Global.asax ?..

Answer / sridhara krishna

Global.asax is a file that resides in the root directory 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 can come from one of
two places - The HTTPApplication object and any HTTPModule
object that is specified in web.confg or machine.config


Regards

sridhara krishna bodavula

Is This Answer Correct ?    2 Yes 1 No

Tell About Global.asax ?..

Answer / sivasaravanan

it allows to execute application level events and set
application level variables.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Features in ASP.NET ?

1 Answers   Microsoft,


What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?

4 Answers  


How ViewstateMac works?

0 Answers   CGI,


What does passport and windows authentication mean in ASP.NET?

0 Answers   Amdocs,


Explain asp.net page life cycle?

0 Answers  






How many types of sessions in asp.net?

0 Answers   MaxSolPro,


What is the purpose of each of the validation controls provided by ASP.NET?

1 Answers  


Explain the difference between globalization and localization techniques

0 Answers  


can any one explain about 3-tier architecture and how to deploy 3 layers of 3-tier architecture in 3 different servers.plz send me .net code

1 Answers   Wipro,


What are the different kinds of assemblies?

0 Answers  


Is razor a programming language?

0 Answers  


What is the typical session identifier?

0 Answers  


Categories