-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am using Castle Windsor for IoC, and have the configuration held in the web.config/app.config, using the following factory:
public static TYPE Factory(string component)
{
var windsorContainer = new WindsorContainer(new XmlInterpreter());
var service = windsorContainer.Resolve<TYPE>(component);
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am trying to access a custom attribute applied to a method within a castle interceptor, e.g.:
[MyCustomAttribute(SomeParam = "attributeValue")]
public virtual MyEntity Entity { get; set; }
using the following code:
internal class MyInterceptor : IInterceptor
{
public void Intercept(IInvocation…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi all,
I want to use Windsor container and its silverlight version in my .net 4.0 framework and silverlight 4.0 solution. I even compiled the source code for .net 4 but unit tests didnt pass. Has anybody tried to do this?
I also tried Unity IOC framework and that doesnt even compile.
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
In an ASP.NET MVC project, using Castle Windsor as IoC container. I'd like use the Logger facilities of this package. I read several article about the configuration but I'd find the right configuration to add the logger to the container.
Do you have an idea ?
Thanks,
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've read here that Castle Windsor can resolve public writable properties for optional dependencies, however I couldn't make it work for me. Do I have to enable this manually when I create a
WindsorContainer?
>>> More