I am new to Design pattern. Can any one suggest right design pattern for custom error handling in asp.net.
Not using any third party framework for Error handling.
I am new to Design pattern. Can any one suggest right design pattern for custom error handling in asp.net.
Not using any third party framework for Error handling.
i think you should use a couple:
1) Singleton for Logger that writes log throughout all application.
2) IoC to create a loose coupled application.
PS:
You should not create your own wheel and use some excellent tools that are on common use today
Logging:
1) log4net - for logging and handling exceptions.
2) Enterprise Library Log - very nice and easy to use.
IoC - Inversion of Control:
1) Ninject - my favorite
2) Unity
and many more.....
as you can see
here