Object cache for C#

前端 未结 9 1446
面向向阳花
面向向阳花 2020-12-07 23:06

I\'m doing a document viewer for some document format. To make it easier, let\'s say this is a PDF viewer, a Desktop application. One requirement for the s

9条回答
  •  难免孤独
    2020-12-07 23:54

    To addition to  rsbarro's answer to use MemoryCache I recommend to use PostSharp AOP as described in 

    http://www.codeproject.com/Articles/493971/Leveraging-MemoryCache-and-AOP-for-expensive-calls

提交回复
热议问题