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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:30:51+00:00 2026-05-17T23:30:51+00:00

I was reading this article from MSDN on Dependency Injection and I saw a

  • 0

I was reading this article from MSDN on Dependency Injection and I saw a term in the article I didn’t quite understand, to quote:

There are several reasons to use containers in your application development. Containers provide the ability to wrap vanilla objects with a wealth of other services. This allows the objects to remain ignorant about certain infrastructure and plumbing details, like transactionality and role-based security. Oftentimes, the client code does not need to be aware of the container, so there is no real dependency on the container itself.

These services can be configured declaratively, meaning they can be configured via some external means, including GUIs, XML files, property files, or vanilla .NET-based attributes.

I understand that ‘vanilla’ generally refers to something that’s plain, but I don’t exactly understand the meaning here.

What does vanilla refer to in .NET?

  • 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-17T23:30:51+00:00Added an answer on May 17, 2026 at 11:30 pm

    Some context would make the question a lot clearer, but usually it’s used to indicate an ordinary object (or type) with no “special powers”. For example, if a serialization scheme claims to work with “vanilla objects” then you shouldn’t need to decorate it with extra attributes etc in order to serialize it. Likewise if an ORM works with vanilla types, it shouldn’t need to implement a specific interface or anything like that.

    EDIT: Okay, having seen the context, the above seems to be about right.

    Another way of thinking about it is that you can write a type which can then be used by a framework without the type knowing about the framework. So some DI frameworks require you to decorate the types themselves to allow injection, whereas others don’t. The latter frameworks are capable of working with “vanilla” types.

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

Sidebar

Related Questions

I saw this article pop-up in my MSDN RSS feed, and after reading through
I was reading this article on MSDN Managing Heap Memory in Win32 And in
I'm reading an article from this website , but when i run the code
I was reading about data driven testing using mbunit from this article. http://blog.benhall.me.uk/2007/04/mbunit-datafixture-data-driven-unit.html I
I was reading this article about Double-Checked locking and out of the main topic
I just finished reading this article on the advantages and disadvantages of exceptions and
I was reading through this article: http://aws.typepad.com/aws/2008/12/running-everything-on-aws-soocialcom.html And I was wondering if this was
Just trying to get my head around Generics by reading this enlightening article by
I got a little curious after reading this /. article over hijacking HTTPS cookies.
I was reading this excellent article which gives an introduction to Asynchronous programming here

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.