Help!!! App.config Vs Web.config

Hi All

My web application has a class library and it uses both App.Config and Web.config files. It also has a Settings.setting file.

App.Config  is automatically generated when I add the WebService references to this project. It also has a sql connection string which uses by TableAdapters. My question is can I remove the App.Config file and just maintain only the Web.config file? Would it stop functioning the SQL connection or Web Service? Is there a way I can move all my app.config items to Web.config so the application can only use the Web.config file? Would the TableAdpaters work wothout App.config file?

 Thanks in Advance.




rajitha aththanayake
6/12/2008 11:40:42 PM 12495 articles. 0 followers. Follow

1 Replies

Similar Articles

[PageSpeed] 18

 Infact in a web application only the web.config will be loaded. so you need to move the settings to the web.config

If you get the answer to your question, please mark it as the answer.
6/13/2008 1:58:23 AM

Web resources about - Help!!! App.config Vs Web.config -

Help - Wikipedia, the free encyclopedia
United States Senate Committee on Health, Education, Labor and Pensions , commonly abbreviated "H.E.L.P." Text is available under the Creative ...

Help:Contents - Wikipedia, the free encyclopedia
Templates are special pages that contain boilerplate text intended to be displayed on more than one page in Wikipedia. This Tip of the day box ...

Corpse-eating microbes could help solve murder mysteries
... it may be a good thing that some microbes are cadaver connoisseurs—their picky palates for flesh, aged to their exacting preferences, may help ...

Netflix is working on new technology that will help Comcast users beat their data caps
Online streaming services like Netflix and Sling TV know that Comcast is trying to put the squeeze on them by implementing data caps for Internet ...

Dell is selling a $5 billion part of its business to help fund a $67 billion megadeal
... a data storage company that owns a stake in VMWare, among other things. Dell is looking to raise $10 billion (£6.6 billion) in total to help ...

Hey Boss, Little Help with the Student Loan?
More companies are helping college graduates they hire to pay off student loans. In July, PricewaterhouseCoopers announced that it will contribute ...

Santa and Mrs. Claus help battle blaze at Utah aquarium
A fire started on the roof of Draper's aquarium early Sunday, and the North Pole's most famous couple jumped into action

More Than 500,000 People Ask CenturyLink To Help End Robocalls
... many robocallers are scammers who don’t care if they violate the rules. There are a number of options available to telecom companies to help ...

Toys For Tots: It's Not Too Late To Help
... makes me tear up. A few years ago, I was looking for the Toys for Tots drop-off box in a T-Mobile store. The manager asked if he could help ...

Final Fantasy VII Remake devs are getting help from the Kingdom Hearts team
... nor are they sharing info on online features, but the "main scenario" for the first part is currently completed. Also, they're getting help ...

Resources last updated: 12/16/2015 2:11:28 AM