2013年1月9日
摘要: 简单记录下,原文在:http://www.dotnetjalps.com/2012/12/Where-I-can-find-SQL-Generated-by-Entity-framework.html1、监测EF产生的SQLusing System;using System.Runtime.CompilerServices;using System.Linq;using System.Data; namespace EntityframeworkSQL{ class Program { static void Main(string[] args) { ... 阅读全文
posted @ 2013-01-09 21:47 feichexia 阅读(1958) 评论(0) 推荐(0) 编辑
摘要: 翻译自:http://weblogs.asp.net/scottgu/archive/2010/01/27/extensible-output-caching-with-asp-net-4-vs-2010-and-net-4-0-series.aspx输出缓存的前世今生 ASP.NET 1.0引入输出缓存的概念,这使得开发者可以缓存页面、控件、控制器以及HTTP响应的输出到内存中。在后续的Web请求,ASP.NET就可以使用缓存中的内容更快响应。 ASP.NET的输出缓存系统足够灵活,使得我们可以根据不同的查询字符串或者表单post参数来缓存不同版本的内容。例如test.aspx?catego 阅读全文
posted @ 2013-01-09 21:33 feichexia 阅读(442) 评论(0) 推荐(0) 编辑