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

  • SEARCH
  • Home
  • 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 584267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T14:52:47+00:00 2026-05-13T14:52:47+00:00

With NInject (preferably 2.0), what options do we have wrt wiring up our object

  • 0

With NInject (preferably 2.0), what options do we have wrt wiring up our object dependencies in a web application?

Can they be defined in an XML configuration file?

Or does it have to be done via code?

  • 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-13T14:52:48+00:00Added an answer on May 13, 2026 at 2:52 pm

    Ninject doesn’t have XML configuration, sorry but I can’t provide a direct link (cos their site has flash elements), but here is a quotation from ninject.org:

    Free yourself from XML

    Most other .NET dependency injection
    frameworks are designed around the use
    of XML to declare type bindings.
    Rather than forcing you to write
    cumbersome and error-prone text,
    Ninject arms you with a fluent
    interface, which lets you connect the
    pieces of your application using
    full-fledged code. This means you can
    take advantage of the features of the
    IDE and compiler, like code completion
    and type-safety.

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

Sidebar

Related Questions

I am using the Ninject.Web library with our web forms application. It's working great
I have Ninject working nicely in an ASP.NET MVC3 web application. I'd like to
I am using Ninject in MVC3 application. One of my resolvable dependencies makes use
I have a single Ninject 2 Kernel for my application which contains all bindings.
I'm using Ninject 2 with an ASP.NET MVC web app. All the dependencies are
I am trying to use Ninject 2.0 with Asp .Net 3.5 web application. Following
I am wiring up Ninject with MVC4 and have it working to the point
I am using Ninject in my MVC 3 application and one of my dependencies
We're using Ninject for IOC. All of our Repository objects can (and should be)
I have Ninject configured to do DI in an ASP.NET MVC 3 application. This

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.