首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  .NET Framework

1

摘要:导读: 对微软技术比较了解的可能知道Windows的同一个版本号的build经常被分为chk和fre,chk表示Checked,fre表示Free。主要的区别在于,checked build有traces和asserts,而free build没有。 但是,checked和free是怎么出现的呢?因为传统的用词一般是debug和retail(或者release)。 当Windows NT还处在开发阶段的时候,开发组的人还在用“debug”和“retail”。Debug和Retail的不同在于编译时的选项: Compiler Optimization:开、关 Debug Traces:开、关 A 阅读全文

posted @ 2011-06-30 10:47 饭后爱 阅读(657) 评论(0) 推荐(0)

摘要: 阅读全文

posted @ 2010-10-26 09:09 饭后爱 阅读(168) 评论(0) 推荐(0)

摘要:方法的重写Overriding和重载Overloading是Java多态性的不同表现。重写Overriding是父类与子类之间多态性的一种表现,重载Overloading是一个类中多态性的一种表现。如果在子类中定义某方法与其父类有相同的名称和参数,我们说该方法被重写 (Overriding)。子类的对象使用这个方法时,将调用子类中的定义,对它而言,父类中的定义如同被“屏蔽”... 阅读全文

posted @ 2010-06-09 12:12 饭后爱 阅读(244) 评论(0) 推荐(0)

摘要:Link: http://www.cnblogs.com/skyivben/archive/2010/04/17/1714460.html自2000年6月22日微软向全球宣布自己的.NET战略,到现在已经十年多了。作为.NET战略的基础,Microsoft .NET Framework 也已经发行了多个版本。下面,我们就来看看这些年来微软到底发布了哪些 .NET Framework 版本。代码注意... 阅读全文

posted @ 2010-04-18 10:46 饭后爱 阅读(610) 评论(0) 推荐(0)

摘要:If you want to determine exactly which versions of the .NET Framework are installed, examine the subkeys under the following registry key:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDPT... 阅读全文

posted @ 2010-03-01 22:38 饭后爱 阅读(376) 评论(0) 推荐(0)

摘要:From:http://msdn.microsoft.com/en-us/library/bb383977.aspxExtension methods enable you to "add" methods to existing types without creating a new derived type, recompiling, or otherwise modifying the o... 阅读全文

posted @ 2010-02-07 17:39 饭后爱 阅读(368) 评论(0) 推荐(0)

摘要:单问号---为泛型 Nullable<int> 的简写方式.双问号---用于判断前一个操作数是否为null,如为null则"返回"后一个操作数,否则"返回"前一个操作数.[代码]执行下面程序,返回值为 8[代码]执行下面程序,返回值为 12[代码]执行下面程序 返回值为 0[代码] 阅读全文

posted @ 2010-02-02 22:03 饭后爱 阅读(4153) 评论(16) 推荐(1)

摘要:在这里我们通过使用工具corflags.exe来查看被编译应用程序的CLR Version,corflags.exe来自Microsoft Windows SDK v6.0A1. 打开Visual Studio 2008 Command Prompt2. CD 到你的Assembly所在路径,比如说cd /d D:\Mesh\study\dotnet\SxS\CompileTest3. 输入 co... 阅读全文

posted @ 2009-12-23 21:51 饭后爱 阅读(407) 评论(0) 推荐(0)

摘要:打开command对话框, 进入到"C:\Windows\Microsoft.NET\Framework",然后DIR,机器上.NET的所有版本都列举出来了。从下面列表我们可以看到,共有6个:C:\Windows\Microsoft.NET\Framework>dir /a:d12/23/2009 12:26 AM <DIR> .12/23/2009 12:26 AM <D... 阅读全文

posted @ 2009-12-23 19:11 饭后爱 阅读(729) 评论(0) 推荐(0)

摘要:We have an article from Jesse Kaplan and Luiz Fernando Santos on In-Process Side-by-Side. The article contains details on this new .NET Framework 4 feature and the problems it solves. It is especially... 阅读全文

posted @ 2009-12-20 11:46 饭后爱 阅读(233) 评论(0) 推荐(0)

摘要:Another In-process SxS ariticle from CLRTeam Luiz Fernando Santos, mainintroduce the common scenario of In-Process SxS.Article link: http://blogs.msdn.com/clrteam/archive/2009/06/07/in-process-side-by... 阅读全文

posted @ 2009-12-20 10:23 饭后爱 阅读(387) 评论(0) 推荐(0)

摘要:In-Process Side by Side (Part1) Luiz Fernando Santos talks about a .NET 4 feature called In-Process Side-By-Side which will allow multiple versions of the .NET CLR to be loaded inside the one process.... 阅读全文

posted @ 2009-12-19 09:32 饭后爱 阅读(217) 评论(0) 推荐(0)

摘要:一次Reboot=975年在开始本文之前先做一个小调查:有多少朋友喜欢Reboot?答案A:我喜欢,每天都要Reboot N次。答案B:我不喜欢,最好一个星期都不要Reboot。如果没有意外的话,相信大部分人都可以归到B那一类,毕竟很少人会愿意中断自己所做的事情,把正在编辑的文章、代码等等一一存盘,然后重新启动,等待几分钟,再重新打开文档、代码编辑的。不过,很遗憾的是,新版本的.NET的安装在Vi... 阅读全文

posted @ 2009-12-17 21:10 饭后爱 阅读(402) 评论(1) 推荐(0)

摘要:转载自: http://blogs.msdn.com/silverlightshanghai/archive/2009/08/25/net-4-0-in-process-side-by-side.aspx我们先来看一个在Outlook上运行.NET插件的一个情景。暂时机器上面安装的是CLR v1.1,Outlook上运行了一个Addin,在v1.1上编写和测试完毕,运行良好。之后,用户在机器上面安... 阅读全文

posted @ 2009-12-17 00:23 饭后爱 阅读(366) 评论(1) 推荐(0)

摘要:The released versions of the .NET Framework have the following version information. .NET Framework versionRevisionVersion3.5Original release3.5.21022.83.5Service Pack 13.5.30729.13.0Original release3.... 阅读全文

posted @ 2009-12-16 19:05 饭后爱 阅读(301) 评论(0) 推荐(0)

摘要:进程相对于一个小城镇,线程相当于这个城镇里的居民,STA(单线程套间)相当于居民房,是私有的,MTA(多线程套间)相当于旅馆,是公用的,Com对象相当于居民房或旅馆里的物品.接下去就好理解了,一个小城镇(进程)里可以有很多很多的(居民)线程,这个城镇(进程)只有一间旅馆(MTA),但可以有很多很多的居民房(STA).只有居民(线程)进入了房间(居民房或旅馆,STA或MTA)以后才能使用该房间里的物... 阅读全文

posted @ 2009-04-24 23:14 饭后爱 阅读(635) 评论(1) 推荐(0)

摘要:Side-by-side execution is the ability to install multiple versions of code so that an application can choose which version of the common language runtime or of a component it uses. Subsequent installations of other versions of the runtime, an application, or a component will not affect applications already installed. This section describes side-by-side execution, how the runtime determines which version of the .NET Framework assemblies to load, and how to design software to take advantage of 阅读全文

posted @ 2009-04-05 14:29 饭后爱 阅读(323) 评论(0) 推荐(0)

摘要:This section provides conceptual overviews of the key features of the .NET Framework, including the common language runtime, the .NET Framework class library, and cross-language interoperability. In This Section .NET Framework Conceptual Overview Introduces the .NET Framework architecture and its components. .NET Framework 3.5 Architecture Explains the relationship between the .NET Framework version 3.5 and earlier versions and service packs. Common Language Runtime 阅读全文

posted @ 2009-04-05 10:29 饭后爱 阅读(246) 评论(0) 推荐(0)

摘要:The architecture of the .NET Framework version 3.5 and 3.5 Service Pack 1 (SP1) builds upon the earlier versions of the .NET Framework. .NET Framework Versions The following table lists the versions of the .NET Framework that are included in the .NET Framework 3.5 and 3.5 SP1. There is no need to install any of the previous service packs if you installed the .NET Framework 3.5 or 3.5 SP1 because they are already included. 阅读全文

posted @ 2009-04-05 08:32 饭后爱 阅读(407) 评论(0) 推荐(0)

摘要:The Microsoft® .NET Framework introduces several new features aimed at simplifying application deployment and solving DLL Hell. Both end users and developers are familiar with the versioning and deployment issues that can arise with today's component-based systems. For example, virtually every end user has installed a new application on their machine, only to find that an existing application mysteriously stops working. Most developers have also spent time with Regedit, trying to keep all the ne 阅读全文

posted @ 2009-04-05 08:26 饭后爱 阅读(418) 评论(0) 推荐(0)

1