
.NET
tantj
这个作者很懒,什么都没留下…
展开
-
进程与线程的区别
概念:进程是一块包含了某些资源的内存区域。线程可以说是一个轻量级或者是一个子进程, 但线程却不可以独立存在,一个进程能启动一个线程,也可以启动多个线程。不同点:进程所占有的内存空间不能被其他的进程访问,他们拥有自己独立的工作内存段。而同一个进程里的线程之间可以进行交互。线程共享进程创建出来的地址空间,而进程有自己的地址空间。一个进程可以包含多个线程。新线程更容易创建;新进程需要拷贝一份原创 2008-04-27 12:12:00 · 502 阅读 · 0 评论 -
微软代码分析工具
这个月23号,微软的MSDN Code Gallery网站上发布了最新的代码分析工具4.2版(Microsoft Code Analysis for C# )。一段关于这个工具的介绍:“This tool is known internally within Microsoft as StyleCop, and has been used for many years now to help原创 2008-05-28 00:12:00 · 1021 阅读 · 0 评论 -
Exception Handling - Do's and Dont's
Exception Handling - Dos and DontsExceptions provide a consistent mechanism for identifying and responding to error conditions. Effective exception handling will make code more robust and e转载 2008-05-08 23:09:00 · 820 阅读 · 0 评论 -
Windows Workflow Foundation - [介绍及相关资源]
Workflow Foundation是能使你在Windows平台上快速构建工作流应用程序的编程模型,引擎以及工具。WF支持各种各样的工作流场景:包括以用户界面为中心的页面流程,文档为中心的工作流程,业务规则驱动的业务流程等。如果你使用的是VS2005,你可以根据以下链接安装相应的Framework及扩展。http://www.microsoft.com/downloads/details原创 2008-07-05 02:07:00 · 681 阅读 · 0 评论 -
微软新发布了基于XAML的WF例子
一直以来,基于WF的综合例子都是少之又少,今天搜索了一下,发现前天微软发布一个基于XAML的例子安装包,名叫Windows Workflow Foundation (WF) XAML Workflow Workshop,该例子包括一系列有关于XAML的主题,例如XAML的激活,版本的控制和部署等问题。下载连接附带的还有一个视频,主要介绍该安装包里面的内容。后面会继续发布一些关于分析这个安装包例子的原创 2008-07-05 02:00:00 · 972 阅读 · 0 评论 -
What is the difference between an EXE and a DLL?
Concept:an exes fullname is Extensible Execute Filean dlls fullname is Dynamic Link LiberaryDifference:1. .exe use by End User like-Client,.Dll can not use by End User.2. exe file is a excuta转载 2008-05-04 23:19:00 · 583 阅读 · 0 评论 -
Windows Memory Allocation Limitations
TOPIC:While unthinkable only a few years ago, tumbling memory prices and increasing hard drive capacities have presented PC users the ability to access gigabytes of memory at relativity low cost. As转载 2008-05-04 10:07:00 · 725 阅读 · 0 评论 -
What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memor
There seems to be a lot of confusion in the industry about whats commonly called the Windows “4GB memory limit.” When talking about performance tuning and server sizing, people are quick to mention t转载 2008-05-04 10:01:00 · 4257 阅读 · 0 评论 -
什么是Windows Service, 它和标准的"exe"文件有什么不同?
Windows Service 是主要用于服务器环境而长期运行的应用程序, 这类程序不需要有用户界面或者任何模拟输出。 任何的用户消息通常都是记录在Windows 事件日志里。Windows Service可以在操作系统启动的时候开始,一直在后台运行,当有需要时也可以手动启动,我们可以通过管理工具里面的服务进行统一管理。当系统启动完毕后,Windows服务并不需要通过登陆页面后才能启动,而我们原创 2008-05-02 23:04:00 · 2162 阅读 · 0 评论 -
c# 汉字转拼音
最近开发一个类似于OUTLOOK联系人那样可以根据字母来过滤当前的联系人的模块,使用上了微软不久前提供的一个转换汉字为拼音的开发包,可以通过这里进行下载。使用的方法很简单,不过里面的方法都是对于一个汉字使用而言,而且会包含音调,譬如“张”,转换出来就会是“ZHANG1”,“学”,转换出来就会是“XUE2”,如此类推。因此自己再封装一下达到可以整个姓名转换成拼音,并去掉没用的音调。代码如下:原创 2008-09-06 15:24:00 · 689 阅读 · 0 评论