Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the role of global.asax?

Answer Posted / sabari

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 ?    18 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is inheritance and an how it be used, example with an example?

1011


Define web services in asp.net.

999


What does uri mean?

876


To get the values in two different controls to match which control you use it?

1002


What is the use of placeholder control?

962


If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?

1025


Where viewstate value is stored in asp.net?

1036


Explain why datareader is useful?

940


How many types of Cookies are available in ASP.NET?

1027


Can you use Web API with ASP.NET Web Form?

1092


Explain About WebService

1077


What is class and object in asp.net?

1069


Can a master page have more than one contentplaceholder?

921


What are the main advantages of using asp.net?

991


Explain about Application and Session Events ?

1009