>>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.