Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 542351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:26:15+00:00 2026-05-13T10:26:15+00:00

The main question is in the title but here is the background. Since I

  • 0

The main question is in the title but here is the background.

Since I pick the lazy way to register my components

        container.Register(
            AllTypes.Pick().FromAssembly(
typeof (MyModelBinder).Assembly).WithService.FirstInterface()
           );

Now when I try

  container.AddComponent<CompositionBinder, CompositionBinder>();

Windsor told me there is already a component with the same keys

But if I comment out that line Windsors fail to resolve for CompositionBinder
Now if I do

    container.AddComponent<CompositionBinder, CompositionBinder>
("CompositionBinder");

Then it work. So I would like to peek under to engine to get an idea of what kind of Components and Keys that got register to my container.

How do I get all the key for the components that are currently register in Castle Windsor?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T10:26:15+00:00Added an answer on May 13, 2026 at 10:26 am

    See this question. ComponentModel has a Name property which is the component key.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's the main question I guess : Is there a .NET way to get
I'm not sure how to title my question, but here goes. I am testing
I been trying to do the question title. Here is my current code: Main.java
The title is the main question. The exact scenario (I am 'using namespace std;'):
Main question is how to customize bootstrap responsive css? My code partly works but
I'm not sure if the title reflects what I'm asking here but thats best
The title of the question is the error itself, but I will also include
Hey! I know title of question is very scary but I still I am
This feels like an extremely n00b question, but here goes... I have a series
I actually have two questions, the on in the title being the main one.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.