last day (23 days later) » 

21:58
ahh i see
greetings
so yeah i modified my post
Problem is
UserManager is a microsoft object
which has no interface
So original I did:
kernel.Bind<UserManager<AppUserModel>>().ToSelf().InRequestScope();
That worked fine until I needed the customization of some of the defaults
So your use case is to create a factory method that ninject can use to inject your pre-made factory into other things, or to use ninject to inject the factory binding into the class in your question?
yes I want to inject the factory into controller/methods when that UserManager class is used
controller/classes
Ah, I had it backwards then.
Okay, that does make more sense. Let me re-read the question.
22:01
does that make sense from the edited post?
Yes. Seems like the Configuration method is invoked at some point on application startup then, since it sets up the shared property delegate?
configuration method is invoked in Startup.cs which is on app startup
I have to go but hopefully you can see my issue now
Okay. I'm heading home from work now, but I think I have a solution. I'll try and post it tonight, if I'm unable I can definitely tomorrow morning (since it seems like you have a working solution ATM).
I do at the moment
and it is dev code anyways
Also, I'd remove the from the question and replace it with
22:05
Im heading out too. Thanks!
you'll get more views
see ya tomorrow (chat at you tomorrow?) :)
yep ill be on
see ya

  last day (23 days later) »