Top "Memorycache" questions

The MemoryCache class is a concrete implementation of the abstract ObjectCache class in .Net

How to iterate through MemoryCache in asp.net core?

There's no available method in IMemoryCache that allows to iterate through each cached item. My project is small, I don't …

c# asp.net-core memorycache
MemoryCache with regions support?

I need to add cache functionality and found a new shiny class called MemoryCache. However, I find MemoryCache a little …

c# .net memorycache
Xamarin forms: Image Cache

Hi I am trying to build an app using xamarin forms PCL. I am implementing image gallery in which I …

c# xamarin.forms portable-class-library memorycache
ASP.NET MVC and MemoryCache - how do i use it?

I have this in my Application_Start: var crumbsCache = new MemoryCache("breadCrumbsNames"); var crumbsList = new List<CacheItem> { //list …

c# asp.net asp.net-mvc memorycache
Asp.Net Core: Use memory cache outside controller

In ASP.NET Core its very easy to access your memory cache from a controller In your startup you add: …

c# asp.net asp.net-core .net-core memorycache
Dotnet Core In Memory Cache - what is the default expiration

I'm using MemoryCache in a dotnet core C# project. I'm using it store a list of enums that I read …

asp.net-core-mvc memorycache
Memory Cache in web api

I was looking for Caching in my web api where i can use output of one api method(that changes …

c# asp.net-mvc asp.net-web-api asp.net-web-api2 memorycache
.net MemoryCache - notify on item removed

I'm using a .net Memory Cache with .NET 4.0 and c#, I want my application to be notified when an item …

c# caching memorycache
How to Expire Many Items From a .NET MemoryCache

What is the recommended way to remove a large number of items from a MemoryCache instance? Based on the discussion …

.net caching memorycache
Redis vs MemoryCache

Redis is often used as a cache, although it offers a lot more than just in-memory caching (it supports persistence, …

.net caching redis memorycache