上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 30 下一页
摘要: 为了可以看清.net framework 的的内部机制,进行单步实际是不错的选择啊, 其它的更多设置可以看其它文章,我这里主要讲问题。 然后就会加载PDB,然后就可以单步进入了。 但是 , 跟我说未知。。。。 你都不知道了,我哪里知道。 随后在虚拟机中开始下安装了一个同样版本的VS 。 没有问题了。 什么情况,难道系统哪里有问题,... 阅读全文
posted @ 2015-02-06 11:25 张保维 阅读(990) 评论(0) 推荐(0) 编辑
摘要: 其实可以看一下Html页面就知道了。 其实它又请求了一次。要关了这个或者忽略之。 阅读全文
posted @ 2015-02-05 17:07 张保维 阅读(167) 评论(0) 推荐(0) 编辑
摘要: http://srv.symbolsource.org/pdb/Public http://referencesource.microsoft.com/symbols http://msdl.microsoft.com/download/symbols 阅读全文
posted @ 2015-02-05 09:49 张保维 阅读(294) 评论(0) 推荐(0) 编辑
摘要: //#define UseThreadContext using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Caching; using System.Runtime.Remoting.Messaging; using System.Text; using S... 阅读全文
posted @ 2015-02-05 09:22 张保维 阅读(485) 评论(0) 推荐(0) 编辑
摘要: //#define UseThreadContext using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Caching; using System.Runtime.Remoting.Messaging; using System.Text; using System.Th... 阅读全文
posted @ 2015-02-02 14:09 张保维 阅读(1077) 评论(0) 推荐(0) 编辑
摘要: 从这里开始 先是一个 对Com接口的导入。 /// /// /// [ComImport, Guid("7297744b-e188-40bf-b7e9-56698d25cf44"), System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServi... 阅读全文
posted @ 2015-01-30 11:33 张保维 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 如果将配置性文件编译为程序集,在执行的时候,它的性能将会高很多。 参看一下, System.Web.HttpApplicationFactory 中方法 CompileApplication() private void CompileApplication() { // Get the Application Type and ... 阅读全文
posted @ 2015-01-29 15:33 张保维 阅读(227) 评论(0) 推荐(0) 编辑
摘要: public static HttpContext Current { get { return ContextBase.Current as HttpContext; } set { ContextBase.Current = (object) value; } } ... 阅读全文
posted @ 2015-01-29 10:23 张保维 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 有的时候时候并不一定要使用SESSION,或不能使用WEB的SESSION,有的时候考虑自己来定义会话操作。可以用自己的代码来会话的操作。我也读了System.Web.SessionState的InProcess实现代码,如果按它的原理来的话。将会有很大的工作量。 那好吧,我们还有两个可选的方案,一个是 System.Web.Cache , 一个是 System.Runtime.Cache , ... 阅读全文
posted @ 2015-01-28 18:00 张保维 阅读(133) 评论(0) 推荐(0) 编辑
摘要: For 与Foreach 性能 差别在不同的场景下会有不同的差异。 对于不同的目标 , 如 T[] 与 IEnumerable 两个的性能就感觉出来了,对于T[] 都快。 有人说 Foreach 快 http://www.cnblogs.com/hedonister/archive/2005/06/29/183355.html 也有人说 for快, 其实快与不快还是... 阅读全文
posted @ 2015-01-28 10:18 张保维 阅读(124) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 30 下一页