castle-windsor Questions

5

Solved

I have a web application where many components are registered using .LifestylePerWebRequest(), now I've decided to implement Quartz.NET, a .NET job scheduling library, which executes in separate th...

2

Solved

I have constructor Foo(IColor c , int someNumber) and I know the some number only during the run time, and I want to call this constructor during the resolving and to pass someNumber value and ...
Buchholz asked 30/7, 2012 at 17:38

0

What I'm trying to achieve is AOP via attributes using Castle Windsor interceptors. I've had some success but having trouble with the aspects at the class level vs. the method level. If I use cla...
Toole asked 27/7, 2012 at 15:9

2

Solved

How does Castle Windsor determine which constructor to resolve when there are multiple constructors present?
Dinothere asked 4/9, 2009 at 2:48

1

Solved

It is stated in the documentation that you should always make interceptors transient. If I have this sample code; //register interceptor container.Register(Classes.FromAssemblyNamed("Sample.Interc...
Corinnecorinth asked 6/7, 2012 at 6:11

2

Solved

maybe this is easy, but searching it on the internet already give me a head ache here is the problem: interface IValidator { void Validate(object obj); } public class ValidatorA : IValidator { ...
Gantlet asked 4/7, 2012 at 8:56

1

We are in the process of redesigning some legacy software to be more testable and have decided upon Dependency-Injection and Castle.Windsor to help us. First, our goal: * A number of decorators th...
Equipage asked 25/5, 2012 at 13:59

1

Solved

I'm having real trouble with the WCF Facility provided by Castle Windsor. I'm not finding appropriate documentation which could point me to some examples with the current version of WCF Facility. ...
Heartwhole asked 29/5, 2012 at 8:11

1

In a Web API application, I use Castle Windsor to supply services configured with PerWebRequest lifetime and everything works fine on IIS. However, when I use the ASP.NET Web API Self Host (Beta) ...

2

Solved

I am wondering where the best place to instantiate the castle Windsor container is in a class library. Should I simply do it in the constructor of the class I am using or is there a single e...
Bifoliolate asked 11/5, 2012 at 7:5

1

One of 4 production servers once in a while generates tons of error claiming: Method RunRules is not supported on this proxy, this can happen if the method is not marked with OperationContractAtt...
Harmattan asked 26/8, 2010 at 16:58

1

Solved

I have created three assemblies. A web site, a WCF service and a contracts assembly that holds the interfaces that the services implement. I would like to use Castle Windsor to create the services ...

1

Solved

I am injecting a Logger component into all my classes. Most of my classes have the Logger property defined, except where there is inheritance chain (in that case only the base class has this proper...

1

Solved

The following does not compile: DefaultServiceHostFactory.RegisterContainer(Container.Kernel); The static method does not seem to exist in Castle 3.0 - I checked the breakingchanges.txt and did n...
Unchancy asked 15/3, 2012 at 22:52

1

Solved

How can I log Castle Windsor internal logs? For example if I had misconfigured Castle in a way that is failing to load the connection string, I want to know if I can log the errors from Castle when...
Terrieterrier asked 2/3, 2012 at 16:53

1

Solved

Can Castle Windsor resolve a collection filtered by a string parameter? interface IViewFactory { IView[] GetAllViewsInRegion(string regionName); } My application defines regions as groups of IV...
Skimp asked 22/2, 2012 at 12:5

2

Solved

I am attempting to use Castle Windsor in my automated tests like so: On every test: The Setup() function creates a Windsor container, registering default implementations of each component The Te...
Pneumato asked 12/2, 2012 at 22:40

3

Solved

Yesterday I was reading some articles in this site while I stumbled on an article about this two new IoC tools. Which one should I learn first? Is there some specification about which one sho...
Leonelleonelle asked 9/1, 2010 at 10:15

1

Solved

My current understanding of Castle Windsor registration is that one can only validate registration by calling Resolve on a root component. But since windsor's component model knows each component's...
Pneumothorax asked 23/1, 2012 at 10:9

3

Solved

I need to get some JSON output in a .NET 2.0 C# script. The goal is to use one method to output all the JSON feeds I need. All the models have the same id and name properties so I have about 15 nam...
Khanna asked 30/11, 2011 at 20:30

1

Solved

I have an ASP .Net MVC 3.0 web application hosted on IIS and I am using Castle Windsor version 3.0. What I would like to do is register a WCF service using the webHttpBinding without any entries i...
Orford asked 11/1, 2012 at 15:34

1

Solved

I am confused about the castle wcf facility registration. I read some blog posts for BasicHttpBinding. But could not find a clear easy sample to setup a net.tcp setup. I want to host the service ...
Bedford asked 3/11, 2011 at 21:8

1

Solved

In my project I need to use simultaneously Castle.Windsor and Moq dlls. Windsor requires Castle.Core also to be referenced in the project. Problem starts when I try to use methods from Castle.Core...
Postbellum asked 11/11, 2011 at 14:17

3

Solved

I would like to integrate Castle Windsor into a WCF project and have read that you can hook it up using the WcfIntegration facility but I am unable to find where to download the dll. Can anyone he...
Plica asked 10/2, 2010 at 15:6

2

Solved

My base page looks like: namespace ASDF.Mvc.ViewEngines.Razor { public abstract class WebViewPage<TModel> : System.Web.Mvc.WebViewPage<TModel> { public ISomeHelper SomeHelper { get...
Kristikristian asked 12/10, 2011 at 3:8

© 2022 - 2024 — McMap. All rights reserved.