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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T19:21:11+00:00 2026-05-28T19:21:11+00:00

If an MVC3 application (an example project name – SuperApp.Web) is relying on a

  • 0

If an MVC3 application (an example project name – SuperApp.Web) is relying on a business logic that resides in a separate assembly (SuperApp.Core), is IoC container initialization still takes place in web site project’s code?

I understand that web site is actually an application, and the initialization control is passed to it, but it would be more logical if a dependencies for a .Core project would be getting resolved in it, with it’s own IoC container library reference.

I am using Ninject in particular, and so far I’ve seen all initialization done with the help of WebActivator in Applications “Start” method. Is it possible for a site project to be IoC free, and let the BL dll figure out what it’s going to be working with?

  • 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-28T19:21:12+00:00Added an answer on May 28, 2026 at 7:21 pm

    One of the things you can look into for this is to create a ninject module in your Core project with the bindings relating directly to core. However you still need to register this module in your running application, so no you cant have your site project running without managing the DI container. This is because you need to plug your DI in at the construction of your controllers

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

Sidebar

Related Questions

I wrote a simple web application on ASP.NET MVC3 (for example, app1 ). And
I have lots of forms in my MVC3 application that require the user to
I am writing a fairly simple MVC3 application that allows a user to retrieve
I've got a documents upload page in an MVC3 application that lets the user
I need an application level cache in my MVC3 project. I want to use
I'm creating user control in MVC3 application. My view model looks like that: public
I have developed a MVC3 application in that I want use the Check boxlist
I have encrypted the web.config file of my MVC3 web application with aspnet_regiis.exe. BUT
We're using NLog for logging in an C# MVC3 web application. All of our
I'm working on upgrading an application from MVC3 to MVC4 and noticed something that

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.