rocky050371
New member
- Joined
- Aug 4, 2011
- Messages
- 3
- Programming Experience
- 5-10
I have created an error class which effectively could be used from any front end, at the moment I am going down the web and windows forms route. My question is, there are certain properties the class requires to post an error i.e. SMTP details, user email etc.
What is the best practice here, should these be public properties on the class, (for info the class is a singleton). Is it common to just have a config area in windows forms and web, should it be done through the config, project settings, any help would be appreciated.
Thanks in advance
What is the best practice here, should these be public properties on the class, (for info the class is a singleton). Is it common to just have a config area in windows forms and web, should it be done through the config, project settings, any help would be appreciated.
Thanks in advance