I just started working on the ASP.NET 2.0 Web Application browser. As in the case of many applications with abandoned fields, the architecture and, in particular, the architecture of the exception log are inconsistent and in some places are absent or incorrect (swallowing exceptions, re-throwing, using them for control logic, etc.)
As a starting point for all this to be controlled, I would just like to make a complete capture of all the exceptions that are excluded in the application and put them somewhere in the form of a database table. Unfortunately, the explication code, which in the application will last many days and possibly weeks of work, so this eliminates the possibility of manual coding (for example, put logger.log everywhere) and things like log4net and nlog. What I am looking for another, easier solution to the problem.
After some quick reading here, I came across various technologies such as:
- Aspect-oriented programming, for example
- Attribute based
- Post sharp library
- Microsoft Unity
- Unity Castle
- Web handlers
? , , . , , , , .
EDIT:
, , , **** **** ( , , ). Elmah ? , ?