Message
From
04/03/2010 08:49:42
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01452436
Message ID:
01452470
Views:
43
>>>Hi,
>>>
>>>is there a built in class/form that provides an interface to the app.config or web.config files in an application? If so where is it, what is it called and how do I use it in my web app?
>>>
>>>Thanks for any insight
>>
>>I am not aware of a built in interface. There are methods to access, both get and save settings you can use in your own interface. I would highly recommend using a seperate class rather than the web.config for saving the application settings.
>
>Isn't app.config the place for those? Or are you advocating a custom class rather than either one of them?

Hi Mike,
For a web application it is Web.config and I am advocating a seprate file for the settings. MM has a built in mechanism for storing the settings and it can be in a seperate file if specified. I just don't like cluddering the web.config with lots of setting stuff specific to the application. Just my take on that.
Tim
Timothy Bryan
Previous
Reply
Map
View