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 Difference between Web.config and global.asax?
Can we write connection String code in global.asax?

Answer Posted / hridya

We can place connction str in global.asax

bt

web.config file is generally considered a better place
because it's a
simple text file that is easily updated without needing to
recompile
anything and changes go into effect immediately.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is an object pool required?

982


What is web api and why to use it?

1000


Explain the difference between an exe and a dll?

960


14. What are your Future Plans for Swatz Oils GROUP U.K?

2144


Please brief not about xsd,xslt & xml?

914


If I have more than one version of one assemblies, then how will I use old version (how/where to specify version number?) In my application?

956


When Cookies are expired in ASP.NET?

959


Where sessions are stored in asp.net?

960


What are sql joins?

937


What is app_code folder in asp net?

1021


How does the iis work?

978


What are the types of validation in asp net?

971


Explain asp.net page life cycle?

1040


State differences between MVC and WebAPI

1074


Describe the Server Control Events of ASP.NET?

1136