The MemoryCache class is a concrete implementation of the abstract ObjectCache class in .Net
I'd like to add caching capabilities to my application using the System.Runtime.Caching namespace, and would probably want to …
c# .net caching .net-4.0 memorycacheI read the MSDN documentation but didn't really understand it. I believe that the behavior of Set is "replace existing, …
.net memorycacheIs it possible to read the expiration time of an item in MemoryCache? I'm using the .NET System.Runtime.Caching.…
c# caching memorycacheAuthenticationRequiredAttribute Class public class AuthenticationRequiredAttribute : ActionFilterAttribute { ILoginTokenKeyApi _loginTokenKeyApi; IMemoryCache _memoryCache; public AuthenticationRequiredAttribute(IMemoryCache memoryCache) { _memoryCache = memoryCache; _loginTokenKeyApi = new LoginTokenKeyController(new …
c# asp.net .net asp.net-core memorycacheThe MSDN documentation for MemoryCache.Set unfortunately doesn’t state explicitly whether it is thread-safe or not. Is it safe …
c# thread-safety memorycacheI want to retrieve all the cache objects that are added using MemoryCache. I tried the below but it is …
c# asp.net .net asp.net-mvc memorycacheOn an ASP.NET MVC project we have several instances of data that requires good amount of resources and time …
c# .net memorycacheI'm porting some code from .NET 4.6 til .NET Core and have run into some problems with MemoryCache. The 4.6 code is …
c# .net dnx memorycache coreclrThe behaviour of MemoryCache.AddOrGetExisting is described as: Adds a cache entry into the cache using the specified key and …
c# .net memorycacheI'm making use of the new .NET 4.0 Caching namespace: System.Runtime.Caching. Now, i'm just doing some prototype/fiddling with …
c# asp.net caching memorycache