Soldato
- Joined
- 27 Mar 2003
- Posts
- 2,710
Right not sure where this thread will go but here goes.
I have been working with .Net for a number of years now and everyday with it is brilliant I seem to be learning new stuff all the time which is great in one way but bad in others. (had tried to use new stuff that wasn't appropriate for the task but because I had learnt it I wanted to put to use. I am sure we have all been there.) Anyway I have been working on a little project to help me improve my basic design and implementation and build up some class libraries that I can use on multiple projects rather than having to build things from scratch or nab bits of code from previous projects.
So after reading/still reading design pattern books and realising I was doing somethings well and others not very well (from a coding perspective) I have gone to the drawing board with a project that I finished a year ago and am looking at ways to improve it.
Now one of the main failings is error handling/logging so I want to develop a system that will be extensible enough to be able to write to various sources ie, email, sql, event logs, xml files, tracing etc.
Now that I have the idea in my head that this needs to be done I am trying to think of the best way to implement it. So was wondering what others have done
My intention is to write this thing once and then reuse it but allow it to be extensible enough that should some new feature come along that helps with error handling/tracing/logging I can just plug it in without it breaking anything else that I have this hooked into.
I guess I am trying to really bounce some ideas rather than get actual coding examples.
I have been working with .Net for a number of years now and everyday with it is brilliant I seem to be learning new stuff all the time which is great in one way but bad in others. (had tried to use new stuff that wasn't appropriate for the task but because I had learnt it I wanted to put to use. I am sure we have all been there.) Anyway I have been working on a little project to help me improve my basic design and implementation and build up some class libraries that I can use on multiple projects rather than having to build things from scratch or nab bits of code from previous projects.
So after reading/still reading design pattern books and realising I was doing somethings well and others not very well (from a coding perspective) I have gone to the drawing board with a project that I finished a year ago and am looking at ways to improve it.
Now one of the main failings is error handling/logging so I want to develop a system that will be extensible enough to be able to write to various sources ie, email, sql, event logs, xml files, tracing etc.
Now that I have the idea in my head that this needs to be done I am trying to think of the best way to implement it. So was wondering what others have done
My intention is to write this thing once and then reuse it but allow it to be extensible enough that should some new feature come along that helps with error handling/tracing/logging I can just plug it in without it breaking anything else that I have this hooked into.
I guess I am trying to really bounce some ideas rather than get actual coding examples.