-1

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.

1

1 Answer 1

0

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.