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...

Difference between web.config and app.config?

Answer Posted / reva ram sahu

web.config is used with web applications. web.config will by
default have several configurations required for the web
application. You can have a web.config for each folder under
your web application.

app.config is used for windows applications. When you build
the application in vs.net, it will be automatically renamed
to <appname>.exe.config and this file has to be delivered
along with your application.

You can use the same method to call the appsettings values
from both config files :

System.Configuration.COnfigurationSettings.AppSettings["Key"]

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is global asax is used?

1024


How do u declare static variable and how it is declared and what is its lifetime?

1028


Why SessionID changes in every request in asp.net?

969


What is http pipeline in asp.net?

977


What is webresource axd?

871


How can I configure asp.net applications that are running on a remote machine?

1054


What is the life cycle of web page?

962


Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?

1018


Can you use Web API with ASP.NET Web Form?

1147


if i wanna deploy my asp.net project to the production server and situation is that i m still not compiled my project i have as-is on my development side now on production server we dont have a visual studio now what kind of settings i need to be to do in webconfig /machine.config file to deploy my project and in iis too....

2121


What is a master page and what does it do?

924


What is a session in asp.net?

1039


How to manage different kinds of sessions in ASP.NET?

1068


Explain asp.net mvc request life cycle? : asp.net mvc

1063


How do I know asp.net mvc version? : Asp.Net MVC

1030