I am currently reviewing several tutorials (and reading books) to get started with ASP.NET MVC.
I see that ninject (or the like) is widely used to inject dependency injection and from what I understand, the main problem here is allocating resources from the classes I need.
We want to be sure, for example, that we only have one instance of the repo object.
I need to learn the first things first, so I'm interested in learning how I create ASP.NET MVC without using DI methods and will still be correct as far as my object resources are concerned.
Additional Information:
I have made several winforms applications. These are applications that use the Business Layer DLL (BLL). This BLL had access to my DAL DLL (simple ADO.NET). they work quite well.
No, I want to use SAME BLL for MVC applications.
With an injection or not?
Without injection?
I just create a BLL object in my controller constructor and what is it?
source share