Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call custom config from web.config?
Message
De
26/11/2007 08:37:49
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01271196
Message ID:
01271209
Vues:
15
>I thought I read somewhere that there is a way to have your own (custom) configuration file (e.g. my.config) that can be included in web.config. Is it possible and how? I want to have all of my custom < appSettings > in a config file but not in web.config.
>
>Thank you in advance for any help.

I haven't done this with a web application, but I am assuming you can have an app.config at the application level. When you make a call to read from a config file, there is a specific order that the application looks at the config files. Maybe somebody else can confirm that you can have an app.config in a web project.
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform