what is global.asax in asp.net?

Posted by Shameer.Ali87 under ASP.NET on 10/30/2012 | Points: 10 | Views : 1347 | Status : [Member] | Replies : 3
hello all .net experts..

can any one tell me what is global.asax and how can one get it in an application?
is it available in all versions of VS or what..?

how to add global.asax to a project & can any one tell me its purpose & uses..
any links will be appreciated..

thanks

shameer ali shaik


Responses

Posted by: Vivekjj on: 10/30/2012 [Member] Starter | Points: 25

Up
0
Down
global.asax is contains configuration settings for whole application ..we dont want to create it, while installing vishual studio its automatically created

Shameer.Ali87, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sourabh07 on: 10/30/2012 [Member] Starter | Points: 25

Up
0
Down
hi shameer ali shaik ,

for better understanding of the Global.asax file...

please refer to the following link.....

http://msdn.microsoft.com/en-us/library/1xaas8a2%28v=VS.71%29.aspx




Sourabh07

Shameer.Ali87, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ranjeet_8 on: 10/30/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
look at this url
http://www.aspdotnet-suresh.com/2011/05/how-to-add-globalasaxcs-file-in-aspnet.html

Global.asax , is used to serve application-level and session-level events. Global.asax is compiled to its own assembly - if you publish the web project from Visual Studio, you can find App_global.asax.dll in the bin directory


Shameer.Ali87, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response