castle-windsor
Static files are being processed by Windsor and throwing errors if not found
I just noticed that static files are being processed (I guess that is normal) but the problem is if a file doesn\'t exist it seems to be causing an exception here:[详细]
2023-04-06 23:50 分类:问答How to use Castle.Windsor in an assembly loaded using reflection
Let\'s say I have a library Lib.dll, which uses Castle.Windsor to initialize its services. I have a main application App.exe, which loads Lib.dll on runtime using reflection. App.exe does not know th[详细]
2023-04-06 20:01 分类:问答Castle windsor Adding conditional dependency
I have 2 implementations of开发者_Python百科 the same interface and want to use implementation1 if the user is logged in or implementation2 if the user is not logged in.How can I configure this with c[详细]
2023-04-06 05:54 分类:问答How to wire up a controller's dependancy
So I went through the asp.net mvc tutorial for castle windsor, and my registrations look like: private static IWindsorContainer _container = new WindsorContainer();[详细]
2023-04-06 00:19 分类:问答How to add a StatelessSession session and how would I use it using this Session management technique?
I finally got this lazy session setup to work: http://nhforge.org/blogs/nhibernate/archive/2011/03/03/effective-nhibernate-session-management-for-web-apps.aspx[详细]
2023-04-05 22:04 分类:问答NHibernate.HibernateException: Unable to locate persister: ABC.Interfaces.Entities.IUser
I\'m getting this error: NHibernate.HibernateException: Unable to locate persister: ABC.Interfaces.Entities.IUser[详细]
2023-04-05 10:07 分类:问答Castle Windsor: how to overwrite a component registration via xml configuration
I\'m trying to overwrite a component registration (done via xml) with another one (in another xml, loaded via code using container.Install(Configuration.FromXmlFile(\"...\")) that has the same compone[详细]
2023-04-04 18:38 分类:问答Castle windsor 3.0 and ASP.NET MVC Controllers
I am using Castle Windsor 3.0 and it worked perfectly for me until I tried to register controllers (I used WCF facility and IoC for repository/service layer). Here is my controllers installer class:[详细]
2023-04-04 11:10 分类:问答ASP.net MVC -How to use castle windsor's capability to resolve an object inside the view
I have the requirement where I need to make a call to my service from inside of my view. The service I need to call has dependencies to my repositories.[详细]
2023-04-04 10:30 分类:问答Equivalent of Windsor Depends on in structureMap
How to inject the Construtor Arguments dynamically in the structureMap Something like Windsor Dependson where i can Pass开发者_开发百科 all the Property[] to it.. Even AutoFac has Resolveparamter..I a[详细]
2023-04-02 20:08 分类:问答