Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User Defined Settings for the Business Objects
Message
De
02/02/2011 09:29:02
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
02/02/2011 08:35:01
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01498282
Message ID:
01498294
Vues:
49
>Hi,
>
>using ASP.NET, C#, MM.NET 3,6 and VS 2008.
>
>I need to let the user define some values which will be made use of by the Business Object code. I have a Settings file and class that work for a config file in my web/UI, but what do I do for the BO? Do I use the app.config file? Do I create my own My.config? Or should I use a table to store the values and create a BO that accesses this table?

Using a table is a good approach for application settings. I am not sure I understand the question "What do I do for the BO?" Have you checked out the Dev Guid topic on Overview of MM.Net / Application Settings Classes ? I typically create a subclass of mmAppConfiguration for application level settings. With Web stuff however, I don't like to put stuff in the Web.Config and writing to files can be a question so using the database approach if a very good one.
Tim
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform