I am castle Windsor and it works great for controller constructors in passing in the repository that is being used. 
private IStoryRepository Repository;
public StoryController(IStoryRepository Repository)
{
    this.Repository = Repository;                   
}
Now I have an Action that is in the admin area to display the main admin ...
            
           
          
            
            Has anyone managed to create a windsor bootstrapper for prism2? 
Prism 2 seems to rely on Unity's behaviour of injecting types that haven't yet been registered.
Thanks.
...
            
           
          
            
            i have asp.net mvc application
i have created a custom membership provider
he is bound in web.config like this:
<membership defaultProvider="MyMembershipProvider">
      <providers>
        <clear/>
        <add name="MyMembershipProvider" type="MyProject.Infrastructure.Security.MyMembershipProvider" />
      </providers>
    </membersh...
            
           
          
            
            My question (I think) can be simply described by this question:
How can I get a "Manager" class to have a list of all possible concrete implementations of a specific interface that have been registered as components injected into it so it can iterate through them? (And because of annoying architecture reasons I can't use the app.config ...
            
           
          
            
            I created a simple AuditInterceptor: EmptyInterceptor now I wonder how can I register this new interceptor with my application using Windsor?
...
            
           
          
            
            I've created a multi-threaded service that uses Castle Windsor to create components to run on separate threads. I Resolve an component by name with parameters for each thread.
I'm running into concurrency problems with a 3rd party library used by the components. I suspect that isolating those components in separate AppDomains will resol...
            
           
          
            
            This is confusing me, so this question will probably be confusing.
I have a an application that uses implementations of an IJob interface to accomplish different tasks. 
public interface IJob
{
  int Id { get; set; }
  string Name { get; set; }
  void Run();
}
I am using the Castle.Windsor.WindsorContainer to resolve these implementa...
            
           
          
            
            I could really use an example of this. Can anyone provide me with a sample implementation of a Javascript function using JQuery (not totally necessary) to make a Castle Monorail call?
I have Monorail configured to intercept all HttpRequests with "*.ashx". Using an Ajax call I would like to pass a parameter to my Monorail Controller and ...
            
           
          
            
            Say I setup my app.config to specify a type that my current application knows nothing about. Then I use AppDomain.Load(byte[]) to load the assembly before instantiating an instance of my WindsorContainer. 
Can Windsor resolve the type? Here's an example:
Castle config:
<castle>
 <components>
   <component id="test" service="Applicatio...
            
           
          
            
            i have somthing like this   
 MyRepository<T> : IRepository<T> {
  public MyRepository(string cs){
   ....
}
so i need to register in winsdor this generic type and give him a parameter 
i've been trying to do this like so :
Type t = typeof(IRepository<>);
Type t1 = typeof(Repository<>);
Hashtable props = new Hashtable(); 
props.Ad...
            
           
          
            
            I'm trying to implement automatic registration of my listeners to a singleton event aggregator when listeners are created by the IoC container - basically what Jeremy D. Miller is doing, but with Castle instead of StructureMap.
So I want to be able to "intercept" Windsor's object creation mechanism and, if the object supports the marker...
            
           
          
            
            I do not understand the error I am getting as listed at the bottom of this email. Why is the container trying to cast the object, especially if the compiler is doing it without error? I am using v2.0.0.5642.
I’m sure it’s in the configuration, but I am lost. I would really appreciate any help.
Thanks, Lars
  <component id="cipherMaste...
            
           
          
            
            
I was following Steven Sanderson's 'Pro ASP.NET MVC Framework' book.
On page 132, in accordance with the author's recommendation, I downloaded the ASP.NET MVC Futures assembly, and added it to my MVC project.
Then, without encouragement from the author, I downloaded, installed, and incorporated the ASP.NET MVC2 Preview 1 dlls into my pr...
            
           
          
            
            I was under the impression that using the Resolve method returned a new instance of the type you want to resolve? Is that incorrect?
...
            
           
          
            
            Is there a way to prevent Castle Windsor from automatically injecting dependencies into properties (besides the [DoNotWire] attribute)?
...
            
           
          
            
            Hello,
I'm really new to Castle Windsor IoC container. I wanted to know if theres a way to store session variables using the IoC container. I was thinking something in the line of this:
I want to have a class to store search options: 
public interface ISearchOptions{
    public string Filter{get;set;}
    public string SortOrder{get;se...
            
           
          
            
            <component id="errorhandler1"
           service="System.ServiceModel.Description.IServiceBehavior, System.ServiceModel"
           type="Nbs.CoreServices.GenericErrorHandler.ErrorHandler, Nbs.CoreServices.GenericErrorHandler" />
I am trying to inject a errorhandler component using Castle with WCF. I get this error wherein I get the er...
            
           
          
            
            Hi guys 
Just wondering how Castle Windsor determines which constructor to resolve when there are multiple constructors present.
Cheers
Anthony    
...
            
           
          
            
            Here's my scenario:
I have a ISampleProvider interface:
public interface ISampleProvider<TEntity>
{
TEntity Entity{get;}
}
and here's an implementation for this interface:
public class SampleProvider<TEntity>:ISampleProvider<TEntity>
{
public SampleProvider(TEntity entity)
{
Entity=entity;
}
public TEntity Entity
{
get;private set;
}...
            
           
          
            
            Hi all,
I am trying to introduce DI/IoC programming methodology into our development group, but one of the developer asked the following question:
Why do we need it?  Is there any concrete example that can show me the benefit of using DI/IoC framework like windsor castle?
Therefore, I am asking if there are any case study or article o...