(Making up the Mind试译2)Prologue: Real Scientists Don’t Study the Mind

摘要: Prologue: Real Scientists Don’t Study the MindThe Psychologist’s Fear of the Party Just like any other tribe, scientists have a hierarchy. Psychologists aresomewhere near the bottom. I dis... 阅读全文
posted @ 2009-08-24 11:00 Haozes 阅读(417) 评论(0) 推荐(0) 编辑

(Making up the Mind试译1)Preface

摘要: Preface Inside my head there is an amazing labor-saving device. Better even thana dishwasher or a calculator, my brain releases me from the dull, repetitivetask of recognizing the things in the world ... 阅读全文
posted @ 2009-08-24 10:54 Haozes 阅读(606) 评论(0) 推荐(0) 编辑

使用Visual Studio创建WebService Unit Test

摘要: 1.使用Unit Test Wizard创建单元测试.不必说 2.Copy WebService项目下面的Web.config到单元测试项目下,改名App.config,如有需要修改修改相应配置 3.HostType 注释掉 4.UrlToTest 修改为指定的webservice url 如下: [TestMethod()] // [HostType("ASP.NET")] 注释掉 [AspNe... 阅读全文
posted @ 2009-08-24 10:27 Haozes 阅读(816) 评论(0) 推荐(0) 编辑

Installshield脚本获取本地IP

摘要: [代码] 阅读全文
posted @ 2009-06-18 09:11 Haozes 阅读(809) 评论(0) 推荐(0) 编辑

Installshield2009中使用osql.exe执行数据库脚本

摘要: Installshield2009中,执行数据库脚本,添加连接都很简单.问题是:在不同的安装Feature下,有的Feature下需要使用OnSQLLogin,显示数据库连接对话框,用户输入数据库连接配置信息.而有的Feature下面,压根就不需要有数据库配置.而IDE环境配置的数据库连接,在什么Feature都会连接.谁可以告诉我,实现这个需求,用IDE SQL SCRIPTS里面的方式如何去做... 阅读全文
posted @ 2009-06-16 16:12 Haozes 阅读(1367) 评论(0) 推荐(0) 编辑

使用Installshield2009 在IIS6部署Asp.net mvc 应用程序

摘要: 一.使用ASP.NET MVC Bin 编译参考文章:http://haacked.com/archive/2008/11/03/bin-deploy-aspnetmvc.aspx二.IIS添加通配符应用程序映射在需要ASP.NET MVC支持的站点或虚拟目录配置如下:(这种方式不用改任何代码,但性能不是太好.不过可以接受,更容易移植到IIS7)三.使用脚本添加通配符应用程序映射打包中可以用Ins... 阅读全文
posted @ 2009-06-16 15:52 Haozes 阅读(916) 评论(0) 推荐(0) 编辑

读书笔记1 --Unicode

摘要: 不知道这些读书笔记能坚持到第几篇,那么能记几篇就几篇吧. 阅读全文
posted @ 2009-05-23 21:18 Haozes 阅读(361) 评论(1) 推荐(0) 编辑

使用Powershell使用IE代理

摘要: 公司的网络限制策略就像计划生育的政策一样...每次手动修改IE代理真让人烦燥 (192.168.75.80:808是代理地址)存为proxy.ps1放入windows目录下,在cmd运行之,如果没有启动,运行脚本启用,反之关闭.爽[代码] 阅读全文
posted @ 2009-04-30 11:28 Haozes 阅读(1218) 评论(0) 推荐(0) 编辑

在ASP.NET中使用SOAP Extensions捕获WebService异常

摘要: Application_Error不能捕获的异常 [WebMethod] public string HelloWorld() { throw new Exception("this exption can't be handled by Application_Error Method"); return "Hello World"; } 定义Application_Error将不能捕获这个异常. 阅读全文
posted @ 2009-04-28 14:46 Haozes 阅读(2428) 评论(2) 推荐(3) 编辑

User GhostDoc && Sandcastle Help File Builder Create MSDN-style documentation

摘要: 使用GhostDoc和Sandcastle Help File Builder 创建专业的MSDN样式CHM帮助文档 一.NDoc已经不开发了.使用GhostDoc可以很方便的在VS环境下生成注释. 1 .介绍:使用GhostDoc为代码生成注释文档 2. 下载:http://www.roland-weigelt.de/ghostdoc/ 二.Sandcastle的可视化工具:Sandcastle Help File Builder 阅读全文
posted @ 2009-04-25 11:08 Haozes 阅读(552) 评论(0) 推荐(0) 编辑