Entity framework practices & issues 2016 年 11 月 7 日2016 年 11 月 8 日 TechDong Leave a comment .Net, Issue收集, 学习历程 dbcontext.Entry performance issue:very slow The DbConte […] Continue reading
C# 装箱(boxing)与拆箱(unboxing) ToString VS boxing 2016 年 7 月 6 日2016 年 7 月 6 日 TechDong Leave a comment .Net, 学习历程 In the .NET framework, there are two species of types–v […] Continue reading
mutex内核对象 2016 年 6 月 17 日 TechDong Leave a comment .Net, 学习历程 Mutex: On a server that is running Terminal Services, a […] Continue reading
.net com注册后 IE中创建automation自动化对象失败:新版IE 64位与32位 2016 年 5 月 24 日2016 年 5 月 24 日 TechDong Leave a comment .Net, .Net, Issue收集, 学习历程, 编程知识 前言:为了方便其它语文调用,使用.net注册了一个com组件。测试时,使用VB测试成功,但是在IE中一直失败。 […] Continue reading
关于 .net expression tree 2016 年 3 月 23 日 TechDong Leave a comment .Net, 学习历程 Only expression trees that represent lambda expressions […] Continue reading
.net 实用环境事务Transaction.Current随笔 2016 年 3 月 20 日2016 年 3 月 20 日 TechDong Leave a comment .Net, 学习历程 环境事务使用静态属性Transaction.Current与线程关联,仅作用于线程上,它是可设置的。Commi […] Continue reading
.net gc 垃圾回收机制 2016 年 3 月 15 日 TechDong Leave a comment .Net, 学习历程 源于Clr Via C# 在什么时候回收 CLR 在检测第 0 代超过预算时触发一次 GC。这是 GC 最常见 […] Continue reading
t4 模板总结 2016 年 1 月 25 日2016 年 1 月 25 日 TechDong Leave a comment .Net, 学习历程 模板包含如下几种block 指令<#@ DirectiveName [AttributeName = & […] Continue reading
.net 中的可变性(variance):协变(covariant)与逆变(contravariant) 2015 年 12 月 23 日2016 年 3 月 14 日 TechDong Leave a comment .Net, 学习历程 协变和逆变 实际上这个词来源于类型和类型之间的绑定。我们从数组开始理解。数组其实就是一种和具体类型之间发生绑定 […] Continue reading
我的timer不执行了,好象被回收了 2013 年 9 月 10 日2017 年 3 月 7 日 TechDong Leave a comment .Net 代码时需要一个timer,这个Timer不需要被引用,所以就定义成了局部变量(或者直接不赋值给任何变量)。但总 […] Continue reading