memorycache
Pre .NET 4 memory cache
I want to use the new MemoryCache class but I am not yet using .NET 4. I do have a simple cache class (internally uses a dictionary). What would be a good approach in using 开发者_开发百科this class l[详细]
2023-04-06 07:41 分类:问答MemoryCache Empty : Returns null after being set
I have a problem with an MVC 3 application that is using the new .NET 4 System.Runtime.Caching MemoryCache. I notice that after a seemingly unpredictable time, it stops caching stuff, and acts like it[详细]
2023-04-05 03:04 分类:问答MemoryCache does not obey memory limits in configuration
I’m working with the .NET 4.0 MemoryCache class in an application and trying to limit the maximum cache size, but in my tests it does not appear that the cache is actually obeying the limits.[详细]
2023-03-24 11:50 分类:问答Is MemoryCache.Set() thread-safe?
开发者_StackOverflow中文版The MSDN documentation for MemoryCache.Set unfortunately doesn’t state explicitly whether it is thread-safe or not.[详细]
2023-03-20 22:55 分类:问答System.Runtime.Caching returns wrong count when using OfType<T>
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Caching;[详细]
2023-02-26 02:54 分类:问答Printing in Silverlight 4
We have an application structured roughly like this: <Grid x:Name=\"LayoutRoot\"> <ScrollViewer>[详细]
2022-12-28 13:48 分类:问答