Why Global.asax is used?

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 ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a code snippet to implement the indentation in json in web api.

574


Explain weak typing and strong typing.

559


I have an excel file with data, i am importing this excel file data into Sqlserver 2005 database. while importing i am getting wrong data(ie, special characters) in one column(description column), upto some limit the data in that column is coming fine,after that data is coming like below. The "Walter" leather storage bench is one of our most popular styles. The top with the tufting and double stitching finish a very impressive piece. The size is perfect in front of beds and the storage adds another functional bonus. Open it up and sneak al���Ƴ�Â��ƴ�Ã��ƶ�Å�� al���Ƴ�Â��ƴ�Ã��ƶ�Å�� Is there anywhy to resolve this? (I am using recordset in coding for developing import process.) please help me soon.

1424


What is the behavior of a Web browser when it receives an invalid element?

621


Why is string called immutable data type?

589






How do http sessions work?

501


What is voluum?

538


Is asp.net a programming language?

531


What are the events in a page life cycle?

534


What is meant by ispostback in asp net?

538


Why asp.net mvc is better than asp.net? : Asp.Net MVC

495


What are all the various Estimation Techniques available ?

649


What is difference between Server.Transfer and Response.Redirect in ASP.NET?

554


Will the asp.net validators run in server side or client side?

641


What is the difference between web config and machine config files?

556