castle-windsor
Share castle windsor singleton instance across multiple components
I want to be able to do this: <component id=\"Component1\" service=\"Foo.IFoo, Foo\" 开发者_开发问答type=\"Foo.Bar, Foo\" lifestyle=\"singleton\" />[详细]
2023-04-12 17:37 分类:问答Setting repositories and providers
Im having a little bit of a problem trying to figure out how to do the following. My apologies if thhe following seems idiotic, just new to Castle.Windsor.[详细]
2023-04-12 00:04 分类:问答How to wireup a class that doesn't have an interface
I have a class that just has public properties of services that are already wired up in Windsor. How can I 开发者_JS百科register this class?[详细]
2023-04-11 15:44 分类:问答IWindsorInstaller in an assembly and resolving local dependencies
I have a WPF MVVM application that has a model and services assembly. I\'m trying to figure out how to us开发者_开发百科e the Windsor container to resolve local (services in the service layer) depende[详细]
2023-04-10 20:09 分类:问答make castle widsor not load all modules
I am using castle windsor to dynamically load some modules. is it possible to ask castle widsor to not 开发者_开发技巧load a specific module? I want to instantiate that module manually and then add it[详细]
2023-04-09 18:42 分类:问答Supply specific implementation to an interface dependency only for a specific component
I implemented Decorator pattern on BooCustom public class BooDefault : IBoo{} public class BooCustom : IBoo[详细]
2023-04-09 15:26 分类:问答Windsor Typed Factory Not Releasing Children
I have a factory and component registered in Windsor 2.5.1 like so: interface IFooFactory{ IFoo CreateFoo();[详细]
2023-04-09 02:08 分类:问答Why does Castle Windsor throw a ComponentNotFoundException in this simple example?
I\'m just getting started with the Castle Windsor IoC, and I\'m having a hard time following the examples.Can somebody please explain why this simple console application fails?I must be missing someth[详细]
2023-04-08 22:10 分类:问答Intercepting singleton instances
I\'m receiving \"Potential Lifestyle Mismatches\" Component \'MyCompon开发者_运维技巧ent\' with lifestyle Singleton depends on[详细]
2023-04-08 04:41 分类:问答Pass httpcontext to WCF via Castle Windsor
We are trying to inject the current http context (so we can get authentication info, e.g the forms authentication etc...)from our asp.net mvc web site into our service constructors. Our services are W[详细]
2023-04-07 19:18 分类:问答