Click here to Skip to main content
15,890,897 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I want to implement Ninject in our project. I went through this tutorial Implementing Dependency Injection using Ninject[^]

But we have a specific requirement where We need a single instance of kernel object which would be injected with different dependencies , like Test kernel and Development kernel.

in the above tutorial, Inside the 'Program.cs' we initialize the kernel, but we need something like Inside the kernel, different 'program.cs' (for multiple projects) should be there .

Any ideas?
Cheers
Debasish

What I have tried:

Implementing Dependency Injection using Ninject[^]

Object Scopes · ninject/Ninject Wiki · GitHub[^]
Posted
Updated 11-Oct-16 1:59am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900