Reputation: 907
Is it me or using an Ioc container with the latest Identity membership system for .Net is a mess! I've been trying to follow the example project created here using Unity
https://github.com/trailmax/IoCIdentitySample
but it is quite difficult to follow and is structured fairly differently to the bootstrap installer.
Does anyone have any better sources of info as Google is just not giving me what I need. I've heard the next CTP has DI built in, but not sure if it is against Identity or not.
Cheers
Upvotes: 2
Views: 332
Reputation: 139
I had the same problem, using Ninject as IOC with Identity and Owin, but finally figured out, you can see the step by step solution here : How to inject User Manager to Account Controller with default Identity Model in Identity 2 using Ninject
Upvotes: 1