I have IOC from Ninject in my app. There are a couple classes that take significant time to initialize (some static data caches fetched from DB or files). Apparently they need to be created before handling the very first user request. Otherwise there is a high risk of timeouts. Does Ninject provide a way to tell the Kernel to go thru bindings and create some?
Share
You can create those instances and pass them with WithConstructorArgument for all dependents when you wire up your app. Quite weird, I must admit, but will work.