摘要: 介绍本文将介绍如何在asp.net web api中利用过滤器属性实现缓存。实现过程1,首先在web.config文件下appsettings下定义“CacheEnabled”和“CacheTimespan”两个属性,CacheEnabled属性决定是否启用缓存CacheTimespan决定缓存过期... 阅读全文
posted @ 2015-04-20 16:21 渲起浪花 阅读(1163) 评论(0) 推荐(0) 编辑