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:
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
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
So I went through the asp.net mvc tutorial for castle windsor, and my registrations look like: private static IWindsorContainer _container = new WindsorContainer();
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
I\'m getting this error: NHibernate.HibernateException: Unable to locate persister: ABC.Interfaces.Entities.IUser
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
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:
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.
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