Tracing Castle Windsor Resolution of Type -
What is a way to find out what Castle Windsor is doing while doing a type of solution?
I am a traceource name, or log4net (etc.) looking for the name of the logger name if it is not in existence, where to provide the own logging code, the best place to hook in the structure is?
The reason is that we have deployed the exact build / configuration of our software on two different virtual servers (both of which are made from the same image of the server), and one of them "works" and Other does not do
On unsuccessful deployment, our own logs show that there is a component that was being injected injected for another. On the other machine, the logs show that everything is healthy.
Why is this happening to me, and to do this, the castle container had to find out how to solve the code.
EDIT: Thank you, Castle Windsor Release 2.0 on .NET 3.5 SP1
Thanks.
You can try the dependency resolving
event of the kernel:
hooking up the container. Kernel Dependency Resolving + = (Component Models, Dependency Models, Dependencies) = & gt; {};
or add an ISubDependencyResolver
:
container.cernel Resoler. Adsusololver (new myडोspacer resistor ());
Comments
Post a Comment