- Inversion of Control and Dependency Injection: Working with Windsor Container by Oren Eini
- Dependency Injection by Griffin Caprio
However, my program threw out exceptions when launched. The exception message said there is a revision number mismatch in the log4net library. That is, the Winsor library I used, which is "RC2 for .NET framework 1.1", expects log4net in version 1.2.9.0, but my project referenced the log4net in 1.2.0. That caused the problem. Actually, Visual Studio gave me the warning during compiliation but I didn't notice. After I updated my log4net program reference to version 1.2.9.0, my program worked as expected and I externalized the logging dependencyin my program. That's great.
No comments:
Post a Comment