castle-windsor
.net Castle Windsor how to specify component property to constructor parameter in xml?
I can\'t figure out how to pass a compoment property to a constructor parameter. <component id=\"NotificationCenterManager\"[详细]
2023-04-02 12:23 分类:问答Castle.Windsor per request lifestyle: subcontainers vs custom lifestyle
I need a per request lifestyle in Castle.Windsor. This is not an ASP app, and the native PerWebRequest lifestyle will not work.[详细]
2023-04-02 10:16 分类:问答DynamicProxy Generation Speed
I\'m trying to troubleshoot some startup time concerns. After doing some profiling, I\'ve found the main culprit is ClassProxyGenerator.GenerateCode. This takes 400-600ms per type the first time. So i[详细]
2023-04-02 07:55 分类:问答Strategies for Organizing Dependencies/IOC Containers in an MVC3 .Net app with Castle Windsor
So, I\'m new to using Castle Windsor and I\'m struggling with how ugly my Controllers are becoming.I\'ve got IOC working in my project which seems to be at least half the problem for most people.Now I[详细]
2023-04-02 01:32 分类:问答ASP.NET MVC + WIndsor + Log4Net how to intercept models?
I have follow an excellent tutorial about how to use Windsor and Lo开发者_如何学JAVAg4Net as AOP in ASP.NET MVC[详细]
2023-04-01 21:52 分类:问答Where is the best place to put a WindsorContainer and avoid circular project references?
I have a large existing solution with multiple tiers that uses CastleWindsor as a DI framework for the newer layers/projects. I am currently trying to implement some new functionality in a layer/proje[详细]
2023-04-01 20:22 分类:问答Castle windsor - creating and disposing container in WCF services
am planning to implement Castle windsor in WCF layer, which is an ASP.Net project. When I went through the documentation of Castle windsor it was said that we need to create container only once and di[详细]
2023-04-01 19:03 分类:问答Resolve by key or by type
What is preferred option of component resolution with castle windsor Io开发者_StackOverflow中文版C container: Resolve by type or resolve by key or by type and key?[详细]
2023-03-31 18:09 分类:问答WCF and injecting dependency via Castle.Windsor
I use Castle.Windsor as a IoC container, and tried to register the dependencies similar to the way described here: http://blog.ploeh.dk/CommentView,guid,f1a71969-0584-4a15-9395-9f2ac65f104b.aspx#comme[详细]
2023-03-31 05:36 分类:问答Why can I not register one class for multiple interfaces in Windsor?
I am trying to register all classes that implement my IProcess<T1, T2> interface with Windsor.To accomplish this I have the following code in my installer:[详细]
2023-03-31 01:14 分类:问答