Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shared constants
Message
De
14/08/2005 16:22:25
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01040828
Message ID:
01040840
Vues:
20
>The configuration file lives in the same folder as the executable and takes its name (i.e. myapp.exe.config).
>
>The only downside is that the framework doesn't provide a mechanism to write back to the file (which I find stupid, to say the least). Rick Strahl has a class that takes care of this in his web site, though.
>
>I use a configuration file in an app that I'm working on, but I still like ini files much better (they're easier to look at, imo).

Thanks again. - Now, if I were to read from an INI file, if I just specify the filename, do you think that .NET will try to read it from the folder where the executable resides?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform