DoNet资源众所周知,.Net内存管理分托管资源和非托管资源,把内存中的对象按照这两种资源划分,然后由GC负责回收托管资源(Managed
Resource),而对于非托管资源来讲,就需要程序员手动释放。
Framework的设计者的本意是降低Developer的入门难度,提高开发效率,让使用者更...
分类:
其他好文 时间:
2014-05-26 13:49:23
阅读次数:
296
The concept of STL is based on a separation of
data and operations. The data is managed by container classes, and the
operations are defined by config...
分类:
其他好文 时间:
2014-05-26 09:43:55
阅读次数:
288
使用DataContractSerializer
终结点(包括地址、绑定、契约)可通过代码以编程方式添加到服务中。如:using(ServiceHost host =new
ServiceHost(typeof(DerivativesCalculator), new Uri[] { ...
分类:
其他好文 时间:
2014-05-23 10:06:49
阅读次数:
244
MEF(Managed Extensibility
Framework),所在命名空间是System.ComponentModel.Composition.dll。简单来说,MEF是将符合约定(一般是实现接口)的组件的Parts(类、方法和属性可看作是Part)标记为Export特性,再把这些组件放...
分类:
其他好文 时间:
2014-05-23 09:34:27
阅读次数:
386
在"MEF(Managed Extensibility
Framework)使用全部扩展组件"中,客户端应用程序调用了所有的扩展组件,而且如果有新的扩展组件加入,必须先关闭程序,再重新启动才可以调用所有组件。
本篇体验使用MEF的ExportMetadata特性,有选择性地使用某些扩展组件,使用La...
分类:
其他好文 时间:
2014-05-22 04:49:23
阅读次数:
311
WCF承载的具体框图WCF承载的具体原理WCFHost承载的相关类型介绍,主要包括ServiceHost,ServiceEndpoint,Binding,ServiceDescription,以及ServiceMetadataBehavior
分类:
其他好文 时间:
2014-05-15 17:57:42
阅读次数:
357
1.介绍客户端模型是SharePoint
2010才提供的,可以更灵活的在任何客户端设备中操作SharePoint对象,在2007版本中没有客户端模型,2010中有三种客户端模型JavaScript,SilverLight,.NET
Managed。下面是对比情况: 2.原理当我们使用客户端模型访问...
分类:
其他好文 时间:
2014-05-15 10:48:16
阅读次数:
334
1.1 JBoss AS 7 新特性
在2011年7月12号,JBoss 发布了它的 JBoss AS 7.0.0。这个版本的JBoss AS有几个重大的提高,尤其是在管理模块上。你会发现,这个JBoss AS 7 与以前的发布版本有非常大的不同,目录结构上有重大调整。在下面几个方面有重大的提升:
l 应用服务器作为管理域(Managed...
分类:
其他好文 时间:
2014-05-15 03:59:27
阅读次数:
221
1. java层面的Surface
对于Surface我们的认识主要是android的类Surface, android的文档描述Surface是“Handle onto a raw buffer
that is being managed by the screen compositor”,这个描...
分类:
移动开发 时间:
2014-05-14 01:43:20
阅读次数:
9126
I had a similar problem when running a spring
web application in an Eclipse managed tomcat. I solved this problem by adding
maven dependencies in the ...
分类:
移动开发 时间:
2014-05-07 14:33:12
阅读次数:
486