摘要:
对一些浏览频次多、数据量大的数据,使用缓存会比较好,而对一些浏览频次低,或内容因用户不同的,不太适合使用缓存。 在控制器层面,MVC为我们提供了OutputCacheAttribute特性;在数据层使用缓存,用System.Runtime.Caching是不错的选择。 控制器层面使用OutputCacheAttribute缓存 □ OutputCacheAttribute默认... 阅读全文
posted @ 2014-04-04 12:39
Darren Ji
阅读(2532)
评论(5)
推荐(1)
摘要:
有时候需要查看程序集的一些元数据信息,比如token, version等,通过ILDASM反编译程序集可以查到。 1、在F盘m文件夹中创建一个MyFirst.txt文件: using System; namespace HelloWorld { public class Program { static void Main(strin... 阅读全文
posted @ 2014-04-04 00:26
Darren Ji
阅读(1316)
评论(0)
推荐(0)
浙公网安备 33010602011771号