我花了2天时间,研究了.Net的垃圾处理机制,最终理解了Dispose Patter。好吧,先从一些概念开始。 memory management Processes don’t access physical memory directly, they use virtual space address. Every process has its own, separate virtual address space. By default, on… Read more “GC, Finalizer and Disposal”
Tag: .Net
.Net Assembly and Module
时不时地在.Net中接触到module这个概念,费解了好久。 先说说Assembly吧,一个dll或者一个exe就是一个assembly。Physically, we can compile related code files into an assembly. Assembly is the minimum unit of deployment.Logically, an assembly can have one or more modules which are… Read more “.Net Assembly and Module”
Autofac入门
“Autofac is an addictive IoC container for .NET. It manages the dependencies between classes so that applications stay easy to change as they grow in size and complexity. This is achieved… Read more “Autofac入门”