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:40:12
 
 
To
02/02/2011 09:29:02
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01498282
Message ID:
01498299
Views:
42
>>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

Hi Tim,

what I meant by "What do I do for the BO?" is that so far I've been using the settings class that you gave me that is part of the web project and writes to my settings file, but now I need to access various settings that are only applicable in the BO project.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform