- 博客(10)
- 资源 (6)
- 问答 (1)
- 收藏
- 关注
原创 .NET运行机制
1. .NET程序被编译成什么形式的代码.NET程序在第一次编译后,形成CLR头、元数据和中间代码;在实时运行或者部署时,进行第二次编译,编译的结果是在CLR中可以执行的机器代码;- CLR头包含了.NET在运行该程序时得到的信息,包括程序集版本号、文件名和模块版本号;- MetaData包含了所有类型的定义、所有的引用以及程序集清单; 2. JIT是如何工作的JIT引
2009-01-17 20:47:00 2008 2
原创 什么是程序集和应用程序域
程序集(Assemble):是一个由类型定义、数据文件和资源文件组成的逻辑集合。每个程序集都包含一个程序集清单,该清单通常被附加在某个文件头上,也可以设置单独建立一个文件来包含该清单。 应用程序域(AppDomain):是CLR中提供代码运行范围、错误隔离和安全隔离的逻辑单元,功能类似于操作系统的进程。一个操作系统进程可以运行一个或多个应用程序域;应用程序域的创建和销毁所需的开销,
2009-01-17 17:43:00 1481
原创 什么是CTS, CLS和CLR
1. CLI: 公共语言基础是微软向ECMA提交的一份语言和数据格式规范,CLR是目前唯一一个CLI实现的版本 2. CLR (Common Language Runtime): 我们可以把CLR理解为包含运行.NET程序的引擎和一堆符合公共语言基础结构的类库的集合。CLR是一个规范的实现,我们开发的所有的.NET程序都是基于CLR的类库来实现,并且运行在CLR提供的运行引擎之上。
2009-01-12 21:42:00 1615
转载 C#多线程编程实例实战教程
问题的提出所谓单个写入程序/多个阅读程序的线程同步问题,是指任意数量的线程访问共享资源时,写入程序(线程)需要修改共享资源,而阅读程序(线程)需要读取数据。在这个同步问题中,很容易得到下面二个要求: 1) 当一个线程正在写入数据时,其他线程不能写,也不能读。 2) 当一个线程正在读入数据时,其他线程不能写,但能够读。在数据库应用程序环境中经常遇到这样的问题。比如说,有n个最终用户,
2009-01-10 22:10:00 753
转载 C#中ref和out的使用小结
ref是传递参数的地址,out是返回值,两者有一定的相同之处,不过也有不同点。- 使用ref前必须对变量赋值,out不用。- out的函数会清空变量,即使变量已经赋值也不行,退出函数时所有out引用的变量都要赋值,ref引用的可以修改,也可以不修改。 区别可以参看下面的代码:using System;class TestApp{ static voi
2009-01-05 21:52:00 2139 1
转载 使用 AsyncCallback 委托结束异步操作
在等待异步操作结果的同时可以进行其他工作的应用程序不应在操作完成之前阻止等待。可以使用下列方法之一来在等待异步操作完成的同时继续执行指令。可使用 AsyncCallback 委托来处理另一个线程中的异步操作的结果。本主题中演示了此方法。 可使用异步操作的 BeginOperationName 方法返回的 IAsyncResult 的 IsCompleted 属性来确定此操作是否
2009-01-03 14:38:00 3381
转载 异步编程设计模式
异步操作通常用于执行完成时间可能较长的任务,如打开大文件、连接远程计算机或查询数据库。异步操作在主应用程序线程以外的线程中执行。应用程序调用方法异步执行某个操作时,应用程序可在异步方法执行其任务时继续执行。 .NET Framework 为异步操作提供两种设计模式:使用 IAsyncResult 对象的异步操作。 使用事件的异步操作。IAsyncResult 设
2009-01-03 12:05:00 1034
转载 中国测试工程师现状及存在的问题
在中国这样一个现状,大部分的测试工程师基本上很难涉及到代码.但有很多公司都要求你测试工程师不但能够找到软件的缺陷,而且能够找到缺陷产生的原因.如果在软件公司带过测试项目的话,你可能就会知道找到缺陷产生的原因是一个什么样的分量的工作.可能开发人员经过了几天几夜的眉思苦想都不知道软件那块出问题了,一般情况下,开发人员解决不了的问题,首先问项目经理.如果项目经理解决不了,问题只能搁置.而作为一个不怎么了
2009-01-01 18:57:00 1039
转载 多年来软件外包项目的管理经验交流
外包项目分为人员外包和项目外包,也称ON-SITE和OFF-SITE,以风险来算,人员外包的风险很小,但是利润也很少,基本很难积累自己的技术和经验。项目外包风险很大,利润比较高,但是能够按期完成项目拿到预期利润的项目只占总项目的不到30%。 为什么会有这么大的差距呢?是我们项目管理学的不够好?还是项目经验不是足够丰富呢?一度我钻研于项目管理的理论之中,喜欢在论坛上和大家交流项目管理的问
2009-01-01 18:37:00 760
转载 什么是软件外包
所谓软件外包就是一些发达国家的软件公司将他们的一些非核心的软件项目通过外包的形式交给人力资源成本相对较低的国家的公司开发,以达到降低软件开发成本的目的。众所周知,软件开发的成本中70%是人力资源成本,所以,降低人力资源成本将有效地降低软件开发的成本。 软件外包已经成为发达国家的软件公司降低成本的一种重要的手段。目前,全球软件的销售额为 6,000亿美元,而其中软件外包的销售额即达到500~
2009-01-01 18:27:00 959
MCTS.Exam 70-511.Windows Application Development with Microsoft .NET Framework
2011-04-29
Beginning WF Windows Workflow in .NET 4
2010-05-19
microsoft uispy
2010-03-21
Microsoft.Press.CLR.via.Csharp.3rd.Edition.Feb.2010
2010-02-20
Windows PowerShell 实战
2009-11-28
python开发过程的问题可以在这里提问么?
2022-02-09
TA创建的收藏夹 TA关注的收藏夹
TA关注的人