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 96483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:49:19+00:00 2026-05-10T23:49:19+00:00

What is the most important features a IOC container should contain? You can easily

  • 0

What is the most important features a IOC container should contain? You can easily create containers in 15 lines of code, but what should it include to be ‘useful’ in a project?

  • 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. 2026-05-10T23:49:19+00:00Added an answer on May 10, 2026 at 11:49 pm

    This is a pretty wide open topic, and given to a lot of subjectivity, but I will try and answer from a very pragmatic point of view. Given the projects that I have worked on, and my experience with IoC, I would say that there are at least three biggies to look for in terms of usefulness.

    1. Configuration – Any IoC that you use needs to have some central location that allows you to configure the behavior of that container. Whether that be a config file or a nice set of API calls that can be wrapped up in a global class somewhere, if the container isn’t easily configurable then it is going to be a headache.
    2. Lifetime Management – You really want a container that has the ability to allow for varied object lifetimes. You might want a certain object to always get a new IPersonCreator, but you only want one IPersonService in existence at any given time.
    3. Automatic Dependency Injection – Ok, so Dependency Injection is the concept that IoC is built on top of, but you don’t want to have to manage this yourself. The idea here is that if you ask for an IPersonCreator for the first time, it should resolve all it’s dependencies, and their dependencies and so on automatically.

    Overall what you need depends on the project, but there are several containers out there that will suit your needs just fine.

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

Sidebar

Related Questions

Ease of installation/use is the most important factor here - not performance. Small is
I am a firm believer in the idea that one of the most important
I have a poorly designed database. One of the most important tables has 11,000+
I'm looking for a basic software for statistical analysis. Most important is simple and
Most of experienced programmer knows data alignment is important for program's performance. I have
Most people suggest that learning assembly is essential, its important to know the underlying
Most importantly, why did it fail? What I'm looking for here is pathologies that
(Not really a programming question, sorry) I'm working on benchmarking various filesystems (most importantly:
Which method makes the most sense for importing a module in python that is
So in this answer to the question: Hidden Features of PHP ? Talks about

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.