alastairtree / LazyCache

An easy to use thread safe in-memory caching service with a simple developer friendly API for c#
https://nuget.org/packages/LazyCache
MIT License
1.72k stars 159 forks source link

Named binding error after upgrading ninject package #161

Closed HoomanBahreini closed 3 years ago

HoomanBahreini commented 3 years ago

I am using Ninject in a ASP.NET MVC. I upgraded the following to packages:

image

After the update I am getting error during the initialization of Ninject, on the following binding.

Bind<INutralProductLoader>().ToProvider(typeof(ShopifyNutralProductLoaderProvider)).InRequestScope().Named("Shopify");

The error is something along the lines of object reference is null.

HoomanBahreini commented 3 years ago

My bad, the issue was not with Nonject