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 / umesh

web.config file is the root page in the application we use
this file to make the connection with the database,we can
use theme attribute,authentication etc.

Where as global.asax file is for handling the Application
or page level error.

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is master page in dtp?

984


Explain the use of resource manager class in .net.

975


What is the use of global.asax file?

1056


How to turn off cookies for a page?

986


Where web.config file is used?

1085


Explain the concept of MVC Scaffolding?

1013


How to rename a table using sql queries?

1098


Which method do you use to kill explicitly a users session?

1051


How do you sign out from forms authentication?

1052


If you want to write your own dot net language, what steps you will you take care?

1073


If you are using two select queries and retrieving data. how do you access second query's result set using data reader?

5573


What is the use of session?

928


Can we use a static function with a non-static variable?

962


explain code with datachaching with example

2144


What is skin in asp.net?

950