Enterprise Library Exception Handling Application Block and Logging Application Block proper use in ASP.NET?

Handling exceptions with the ELEHAB is basically the same in all types of application. You catch the error and call ExceptionPolicy. HandleException .

The only difference is exactly where you put your "global" catch block. In WinForms, you might put it in the Main method. In ASP.NET, you might put it in the Application_Error event.

In a Windows Service, you might put it in the background thread start method.

Perhaps it would be better to start with your objectives and then determine how to accomplish them.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions