Sends for the fellow dear visitors:welcome to dongpad!


 Welcome to DongPad!

 msn


| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | > >> 预览模式: 普通 | 列表

(推荐)VS2010最新AD-想做你的code

Tags: DongPad

分类:Life | 固定链接 |评论: 0| 引用: 0 | 查看次数: 250 | 返回顶部

2010伊始小记

步入2010已经个月有长,小博久不见经传,在此小记一笔,谨以此为2010的奋斗拉开帷幕。来自生活中的各种压力是接踵而至,希望拨开乌云看见天的情怀亦是强烈的很。只言片语,但愿回头看时又是另一番滋味。愿愿愿愿愿。

Tags: DongPad

分类:Life | 固定链接 |评论: 2| 引用: 0 | 查看次数: 251 | 返回顶部

IA-32、IA-64英特尔架构(Intel Architecture)

IA64(Intel Architecture)架构

IA64是惠普和Intel携手开发的新一代64位的计算机芯片。
IA64处理器I-tanium(安腾)是Intel自推出32位微处理器以来,在高性能计算机领域的又一座里程碑。基于IA64处理器架构的服务器具有64位运算能力、64位寻址空间和64位数据通路,突破了传统IA32架构的许多限制,在数据的处理能力,系统的稳定性、安全性、可用性、可观理性等方面获得了突破性的提高。


查看全部...

Tags: DongPad

分类:Study | 固定链接 |评论: 0| 引用: 0 | 查看次数: 430 | 返回顶部

推荐两个免费Visual Studio插件

This Article is Published by Live Writer。

文章原出处http://www.colobu.com,更多插件参见这里

5. Copy As HTML

http://www.lavernockenterprises.co.uk/downloads/copyashtml/copyashtml.aspx

Copy As HTML是一个轻量级的VS插件。你可以利用它在VS中以HTML格式复制你的代码。在复制时它可以保留语法加亮,缩进和背景色,行数等等,方便你复制你的代码到你的博客、文档中。

8. PowerCommands for Visual Studio 2008

http://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=PowerCommands&ReleaseId=559

为VS提供了一堆的命令扩展。

Tags: DongPad

分类:C# | 固定链接 |评论: 0| 引用: 0 | 查看次数: 377 | 返回顶部

ZT-数据公钥加密和认证中的私钥公钥

This Article is Published by Live Writer。
基于公开密钥的加密过程
  1. Bob将他的公开密钥传送给Alice。
  2. Alice用Bob的公开密钥加密她的消息,然后传送给Bob。
  3. Bob用他的私人密钥解密Alice的消息。

基于公开密钥的认证过程
  1. Alice用她的私人密钥对文件加密,从而对文件签名。
  2. Alice将签名的文件传送给Bob。
  3. Bob用Alice的公钥解密文件,从而验证签名。

原文参见:数据公钥加密和认证中的私钥公钥

Tags: DongPad

分类:Study | 固定链接 |评论: 0| 引用: 0 | 查看次数: 312 | 返回顶部

A Look Back…

This Article is Published by Live Writer。

Tags: DongPad

分类:C# | 固定链接 |评论: 0| 引用: 0 | 查看次数: 306 | 返回顶部

Code Contracts from MSDN

Lots of fixes! Our new release, 1.2.21023.14, has been upgraded to work with Visual Studio 2010 Beta 2. (Of course, it also works with Visual Studio 2008, but this is a great time to download the new beta and get started with it.) There are lots of other improvements: be sure to check out the release notes. And keep using the forum to tell us what you think: many of the fixes were in response to your comments.

Code Contracts provide a language-agnostic way to express coding assumptions in .NET programs. The contracts take the form of pre-conditions, post-conditions, and object invariants. Contracts act as checked documentation of your external and internal APIs. The contracts are used to improve testing via runtime checking, enable static contract verification, and documentation generation. Code Contracts bring the advantages of design-by-contract programming to all .NET programming languages. We currently provide three tools:

  • Runtime Checking. Our binary rewriter modifies a program by injecting the contracts, which are checked as part of program execution. Rewritten programs improve testability: each contract acts as an oracle, giving a test run a pass/fail indication. Automatic testing tools, such as Pex, take advantage of contracts to generate more meaningful unit tests by filtering out meaningless test arguments that don't satisfy the pre-conditions.
  • Static Checking. Our static checker can decide if there are any contract violations without even running the program! It checks for implicit contracts, such as null dereferences and array bounds, as well as the explicit contracts. (VSTS Edition only.)
  • Documentation Generation. Our documentation generator augments existing XML doc files with contract information. There are also new style sheets that can be used with Sandcastle so that the generated documentation pages have contract sections.

Code Contracts comes in two editions:

  • Code Contracts Standard Edition: This version installs if you have any edition of Visual Studio other than the Express Edition. It includes the stand-alone contract library, the binary rewriter (for runtime checking), the reference assembly generator, and a set of reference assemblies for the .NET Framework.
  • Code Contracts VSTS Edition: This version installs only if you have Visual Studio Team System. It includes the static checker in addition to all of the features in the Code Contracts Standard Edition.


Download Code Contracts Standard Editionor VSTS Edition.


Read the Code Contracts documentation.



forgot to leave the oraginal address:http://msdn.microsoft.com/en-us/devlabs/dd491992.aspx

Tags: DongPad

分类:C# | 固定链接 |评论: 0| 引用: 0 | 查看次数: 256 | 返回顶部

“Out of the box”的解释

This Article is Published by Live Writer。

1)“Out of box”用于描述某种不确定的事件。常常作为副词来形容某种观点的不确定性。据说这个词同20世纪早期的英国数学家亨利?恩斯特?杜德耐解答一个著名数学谜语的思路相关。题目要求用四条直线连接平面上三乘三分布的九个点,要求一笔连成,也就是在画线的时候笔不能离开纸面。解决这个数学问题的关键在于要克服传统的在三乘三边界内画点的思想,如果将线连接到边界之外,那么问题可以迎刃而解,这样就产生了“Out of box”这个词。相应的,将思维受限这种情况称为“boxed-in”。在IT领域,节奏变化很快,因此每个人都在寻找“Out of box”的思维方式,尝试创新。
用“In the box”表示某种确定的事情。比如,最近有一篇文章讨论了MP3以及盗版音乐的关系,其中引用了一位业内人士的话表示:“主流唱片公司很少关心互联网上的发展,他们的思维就是‘Inside the box’”。
2)"Out of the box"(开箱即用)也用作"off the shelf"(现货供应)的同义词,其含义是指能够满足一定需求的、已经作好了的软件、硬件或两者的结合形式。如不采用,就需要投入专门的人力物力来开发。

out-of-the-box具有“创造性的,独特性,思维不合常规”的意思,但在计算机术语里又可以指“从盒子里拿出来直接可以使用的,也就是即开即用”的意思。"out-of-the-box" is similar to "off-the-shelf",
usually referinng to software/hardware which can be used as is, not requiring extra customisation or add-on components.”

转自:bokee

Tags: DongPad

分类:Life | 固定链接 |评论: 0| 引用: 0 | 查看次数: 313 | 返回顶部

WCF之消息队列问题

This Article is Published by Live Writer。

1.Q:此计算机上尚未安装消息队列

A:控制面板 --> 添加或删除程序 --> 添加/删除Windows组件 --> 勾选消息队列 --> 点击详细信息,将包括MSMQ HTTP支持在内的子组件都勾选上 -->确定完成。

上述方法主要是针对XP操作系统,更多安装步骤参见:官方的安装“消息队列 (MSMQ)”

2.Q:消息队列服务不可用

A:运行输入services.msc打开服务,找到Message Queuing服务,该服务主要用来为分布式异步消息应用程序提供通信基础结构,启动该服务即可解决消息队列服务不可用的问题。

Tags: DongPad

分类:C# | 固定链接 |评论: 0| 引用: 0 | 查看次数: 363 | 返回顶部

WCF中的Binding模型简介

This Article is Published by Live Writer。

image

image

image

参见:http://dotnet.cnblogs.com/page/43947/

Tags: DongPad

分类:C# | 固定链接 |评论: 0| 引用: 0 | 查看次数: 305 | 返回顶部
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | > >>