摘要: StrongName是一种.Net提供的身份识别机制。它基于一些加密算法,例如RSA等,对程序集实施加密或称作签名。从而使得我们可以鉴别某个程序集的身份(该程序集是谁发布的)。其实,从本质上来说,StrongName和证书机制(例如X.509)的身份识别原理是相同的。区别只是,证书机制关心的是客户端能否证明自己具有一定的资格,而StrongName只是表识特定的身份,这个身份无所谓客户端或服务端,... 阅读全文
posted @ 2010-06-11 11:12 Ada.color 阅读(812) 评论(0) 推荐(1)
摘要: Microsoft is always trying to improve the performance of its platforms and applications. Many years ago, Microsoft researched how threads were being used by application developers to see what could be... 阅读全文
posted @ 2010-06-02 10:24 Ada.color 阅读(253) 评论(0) 推荐(0)
摘要: In a synchronous call to a method, the caller thread blocks while the call is active. When the call completes, the method can return results through the return value of the method or through any out p... 阅读全文
posted @ 2010-06-01 16:45 Ada.color 阅读(176) 评论(0) 推荐(0)
摘要: .NET Framework 中的所有线程都被指定为前台线程或后台线程。这两种线程唯一的区别是- 后台线程不会阻止进程终止。在属于一个进程的所有前台线程终止之后,公共语言运行库 (CLR) 就会结束进程,从而终止仍在运行的任何后台线程。在默认情况下,通过创建并启动新的 Thread 对象生成的所有线程都是前台线程,而从非托管代码进入托管执行环境中的所有线程都标记为后台线程。然而,通过修改Threa... 阅读全文
posted @ 2010-06-01 16:42 Ada.color 阅读(211) 评论(0) 推荐(0)