Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shared constants
Message
De
14/08/2005 15:33:20
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:
01040835
Vues:
21
>Hola Hilmar,
>
>I use a configuration file for this purpose, which is just an xml file with all the settings my app needs and their values. Easy enough to be edited with any text editor, yet does the trick.
>
>Look for System.Configuration.ConfigurationSettings in help for more information.
>
>Hope this helps!

Thanks.

Oh my, it seems I will have to study configuration settings, then.

For a start, I was already considering a plain text file (and I assume the configuration settings are more appropriate for this purpose); but does .NET use the concept of a "default directory"? That is, can I specify a filename without the full path?

Or should I store configuration files in some special .NET directory?
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