HttpRuntime.Cache Equivalent for asp.net 5, MVC 6
So I've just moved from ASP.Net 4 to ASP.Net 5. Im at the moment trying to change a project so that it works in the new ASP.Net but of course there is going to be a load of errors. Does anyone know what the equivalent extension is for HttpRuntime as I cant seem to find it anywhere. I'm using to cache an object client side. HttpRuntime.Cache[Findqs.QuestionSetName] 'Findqs' is just a general object You can an IMemoryCache implementation for caching data. There are different implementations of this including an in-memory cache, redis,sql server caching etc.. Quick and simple implemenation goes