Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User Defined Settings for the Business Objects
Message
From
02/02/2011 09:29:02
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
02/02/2011 08:35:01
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01498282
Message ID:
01498294
Views:
48
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform