代码改变世界

.NET 2.0 JSON Parser

2013-06-14 23:30 by 无名365, 395 阅读, 0 推荐, 收藏, 编辑
摘要:A simple pure .Net 2.0 Library for JSON parser --JSON-Sharpusing System;using System.Collections.Generic;using System.Reflection;using System.Text;using System.Collections;using System.Globalization;using System.Text.RegularExpressions;using System.Diagnostics;using System.IO;using System.Collection 阅读全文

Provisioning 是什么意思?

2011-12-05 10:43 by 无名365, 2826 阅读, 0 推荐, 收藏, 编辑
摘要:“Provisioning”在企业级信息资源管理(Enterprise-level Resource Management)研究中经常碰到的。该词按照Webopedia的解释,Provisioning是“向用户提供数据和技术资源访问的过程”。有一点要清楚,Provisioning在不同的IT场合有不同的含义。比如,在网格计算(Grid Computing)中,Provisioning表示激活(Activate)某个Grid部件。再比如,“User Management and Provisioning”,用户管理(User Management)做MIS的应该是非常的熟悉,就是增、删、改、查系 阅读全文

SOA与云计算

2011-11-30 09:39 by 无名365, 434 阅读, 0 推荐, 收藏, 编辑
摘要:From http://www.infoq.com/cn/articles/SOACloudPanel在过去很长一段时间里,SOA受到了软件行业的广泛关注。接着它被宣布死亡,然后它又(在一定程度上)以云计算的形式重生了。当今的云计算就像几年前的SOA一样被疯狂地炒作着。它们有很多相似之处?二者之间有何关系?根据该行业的传统,答案取决于你问的是谁。VMWare的Rod Johnson说:“我认为SOA时代的确已经过去。从架构层面上看,它的确是个好东西,但是从产品销售的角度看,它却是个市场中孕育出来虚构概念……但云计算却不同,它背后有更多实际的东西。但是,这些实际的东西已经模糊了,因为几乎任何事物 阅读全文

Good understand on WCF Data Contract & Serialization

2011-11-29 13:43 by 无名365, 731 阅读, 0 推荐, 收藏, 编辑
摘要:Data Contracts & SerializationSummaryIntroductionService ContractsData ContractsData Contract SerializerMessage Contracts Message Class Example Large Data and Streaming IntroductionWCF Services and their clients depend on the exchange of data to accomplish any task. This section discusses how WC 阅读全文

WCF DataContract EmitDefaultValue

2011-11-29 11:41 by 无名365, 742 阅读, 0 推荐, 收藏, 编辑
摘要:The WCF DataContract model is ‘opt-in’; to include a member in the contract, explicitly apply the DataMemberAttribute to the field or property to include it in the serialized output. What if I want some properties to ‘opt-out’ under certain scenarios, should I be able to do this at runtime?One possi 阅读全文

a xml configuration for unity and interception

2011-11-29 09:55 by 无名365, 185 阅读, 0 推荐, 收藏, 编辑
摘要:<configuration> <configSections> <section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection, Microsoft.Practices.Unity.Configuration, Version=2.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/></configSections> 阅读全文

Programmatically Compress and Decompress Files using c#

2011-11-25 13:36 by 无名365, 373 阅读, 0 推荐, 收藏, 编辑
摘要:This lesson is very easy. This lesson focuses on how to compress and decompress files programmatically using .NET Framework and C# -or any language that supports .NET of course.-Currently .NET Framework supports two types of compression algorithms:DeflateThis is a very simple algorithm, used for sim 阅读全文

CodeRun Studio - A free cloud develop and debug service for .Net Cloud IDE

2011-11-25 11:35 by 无名365, 211 阅读, 0 推荐, 收藏, 编辑
摘要:http://www.coderun.com/CodeRun Studio is a cross-platform Integrated Development Environment (IDE), designed for the cloud. It enables you to easily develop, debug and deploy web applications using your browser. CodeRun Studio can be used instead or alongside your existing desktop IDE. You can uploa 阅读全文

10个最“优秀”的代码注释

2011-11-25 09:36 by 无名365, 182 阅读, 0 推荐, 收藏, 编辑
摘要:下面是stackoverflow网站上网友针对你看到过的最好的代码注释是什么样的?这个问题给出的回答的前10条:1. // 亲爱的维护者: // 如果你尝试了对这段程序进行‘优化’,// 并认识到这种企图是大错特错,请增加// 下面这个计数器的个数,用来对后来人进行警告:// 浪费在这里的总时间 = 39h2. /** * 致终于来到这里的勇敢的人: 你是被上帝选中的人,英勇的、不辞劳苦的、不眠不修的来修改我们这最棘手的代码的编程骑士。你,我们的救世主,人中之龙,我要对你说:永远不要放弃,永远不要对自己失望,永远不要逃走,辜负了自己。永远不要哭啼,永远不要说再见。永远不要说谎来伤害自己。 */ 阅读全文

Compress and Decompress

2011-11-24 16:08 by 无名365, 271 阅读, 0 推荐, 收藏, 编辑
摘要:http://msdn.microsoft.com/en-us/library/ms751463.aspxhttp://www.codeproject.com/KB/WCF/WCFDownloadUploadService.aspxhttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/8c3eafae-b6a1-441f-85ef-90721d941a1a/http://iphonedevelopertips.com/cocoa/how-to-download-and-process-gzipd-data.htmlhttp://awk 阅读全文