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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T16:34:12+00:00 2026-05-14T16:34:12+00:00

I was trying Ninject in a Asp.net Mvc application and I was wondering what

  • 0

I was trying Ninject in a Asp.net Mvc application and I was wondering what the best practice is for using Ninject if you have more than 1 project in your solution.

I guess all projects need some kind of Loader which you initialize in the global.asax?

Kind regards,

Pickels

  • 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-14T16:34:13+00:00Added an answer on May 14, 2026 at 4:34 pm

    In general you should only be bringing in an IoC container (in this case Ninject) in the actual executable (or ASP.NET application). Reusable libraries should be agnostic toward which container is used.

    To use Ninject in an ASP.NET MVC application specifically, you should use the Ninject controller factory in the Ninject.Web.Mvc extension.

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

Sidebar

Related Questions

I'm trying to incorporate Ninject with my ASP.NET MVC 3 RC application. From the
I have some questions regarding a bootstrapper class. I am using ASP.NET MVC 3
I am trying to use Ninject 2.0 with Asp .Net 3.5 web application. Following
I am using Ninject with ASP.NET MVC. Basically, I want to pass the protected
I'm trying to get my head around using Nunit, Ninject, MVC2 and the ADO.Net
I am working with an ASP.NET MVC project which was originally started from the
I'm using NInject with NInject.Web.Mvc. To start with, I've created a simple test project
I am trying to set up my ASP.NET Web Forms (Framework 4.0) application to
I am starting with ASP.NET MVC and trying to learn DI and dependency inversion
The service layer of my ASP.NET MVC 3 application uses AutoMapper to map view

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.