摘要:
示例:第一步:在项目中添加类;如下。public class ActionOutputCacheAttribute : ActionFilterAttribute{ // This hack is optional; I'll explain it later in the blog post private static MethodInfo _switchWriterMethod = typeof(HttpResponse).GetMethod("SwitchWriter", System.Reflection.BindingFlags.Instance | S 阅读全文
posted @ 2011-04-27 17:07 达奇 阅读(566) 评论(0) 推荐(0) 编辑