Skip to content
loading...

re: Wiring up Ninject with ASP.NET Core 2.0 VIEW POST

FULL DISCUSSION
 

Nice little write up. I've hit an issue where I want my service to take in IOptions as a constructor but the standard way of adding an IOptions using DI are not working with this tutorial. Any tips?

 
 

The comments system is throwing loads of errors, it's making it hard to post :-/

I had the same issue, I added it as a parameter in the Configure method in the Startup file

code of conduct - report abuse