10 2008 档案

摘要:一、提供服务 有时候我们在利用WCF开发SOA服务时,可能需要使用编码的方式来提供服务,而没有使用配置文件的方式。这里我写了一个助手方法来方便实现这方面的需求,还是先来看一下代码: Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ ... 阅读全文
posted @ 2008-10-28 16:28 网际飞狐 阅读(980) 评论(1) 推荐(0)
摘要:When we learn the Observer Pattern, we will see the Figure like this: It come from the >. Let us to learn this pattern together.... Observer is a abstract class or interface, it define a series of m... 阅读全文
posted @ 2008-10-23 16:02 网际飞狐 阅读(544) 评论(0) 推荐(0)
摘要:We need to know which w3wp process is running now When we debug my website in the Visual Studio. As we know, we can use this cmd(%windir%/system32/inetsrv/appcmd list wp) to show the result in the ... 阅读全文
posted @ 2008-10-21 10:49 网际飞狐 阅读(309) 评论(0) 推荐(0)
摘要:今天讲一下我所牵头的项目中用到的系统框架结构。这个框架的使用是起于权限系统的开发的,然后在数据中心中发挥出它的功效,现在包括个人空间、通知服务等项目都沿用了这种框架,这里先来一张系统框架图,然后再慢慢解说。 1、典型的三层结构,主体包含了表示层(USL)、业务逻辑层(BLL)、数据访问层(DAL)。猛然看上去好像与别的三层结构没什么不同,不过这里的不同之处是业务逻辑层和数据访问层... 阅读全文
posted @ 2008-10-07 15:19 网际飞狐 阅读(564) 评论(0) 推荐(0)
摘要:1、删除某字段中的重复记录,Table1006表中有Id和Phone字段,Id为不重复的标字段,但是Phone含有重复字段,现在需要重复Phone记录行删除掉,只保留最新一条记录。 Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> if... 阅读全文
posted @ 2008-10-07 10:23 网际飞狐 阅读(372) 评论(0) 推荐(0)