difference Globle.aspx and web config [Resolved]

Posted by Bageshkumarbagi under ASP.NET on 10/10/2012 | Points: 10 | Views : 990 | Status : [Member] | Replies : 3
hi,
what is the difference between in Globle.aspx and web.confg file in asp.net plz let me know.

Thanks,
Bagesh Kumar Singh
Mark as answer if you have been satisfied



Responses

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

Up
0
Down

Resolved
Web.config allows you to define or revise the configuration settings at the time of developing the application or at the time of deployment or even after deployment.
The following are brief points that can be understood about the Web.config file:
.Web.config files are stored in XML format which makes us easier to work with.
.You can have any number of Web.config files for an application.
Each Web.config applies settings to its own directory and all the child directories below it.
.All the Web.config files inherit the root Web.config file available at the following location
systemroot\Microsoft.NET\Framework\versionNumber\CONFIG\Web.config location
.IIS is configured in such a way that it prevents the Web.config file access from the browser.
.The changes in Web.config don't require the reboot of the web server.

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

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

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

Up
0
Down
Go to below mention link
http://www.dotnetfunda.com/interview/exam3663-difference-between-webconfig-file-and-globalasax.aspx

Regards ,
Rupal Kothari

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

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

Up
0
Down
Hi... @Bageshkumarbagi
if this helps u please Mark As Answer

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

Login to post response