interviews.dotnetthread.com

↑ Grab this Headline Animator

Tuesday, August 26, 2008

why we mention the connectionString in the web.config file instead of global.asx?

Because the code within the GLOBAL.ASAX.CS file is compiled one and if we want to change connectionstring or anything then we have to change and compile and again we have to deploy

But in case of web.config file we can change the connectionString or anything and directly run the application.No need to over burden as Global.asax.cs

Submit this story to DotNetKicks

No comments:

Post a Comment

Post your comments/questions/feedback for this Article.

 

Latest Articles