Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web interface to .config in MM .NET
Message
De
04/03/2010 08:49:42
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01452436
Message ID:
01452470
Vues:
42
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform