小马

现在是零将来是无限

导航

03 2006 档案

在.NET 中实现 AOP
摘要:软件工程中的大多数思想都是集中在管理复杂度上面的--结构化编程尝试通过粗粒度的代码与设计划分来降低复杂度;面向对象编程尝试通过建立结合状态与行为的抽象体来降低复杂度;基于组件的软件尝试通过基于抽象接口和协议划分应用程序模块来降低复杂度。基于组件的软件的梦想是构造一个世界,让水平一般的程序员就能使用高级语言和工具将组件组装起来。这当然假设这个世界里面的问题域能被分解成相互之间通过简单的方法调用进行交... 阅读全文

posted @ 2006-03-29 01:00 mahope 阅读(568) 评论(0) 推荐(0)

解决Web Service中传递子类实例时,序列化的问题。
摘要:首先,无论如何传递一个子类的实例是无法解决问题的。其次,好像没有什么现成的方法能直接从子类的实例中创造出父类的实例来。我曾经尝试返回base,但是失败了。于是,迫不得已,我只有通过反射来将子类对象的数据传递到父类对象去。代码如下:publicclassDerivedType:WS.BaseType,System.ICloneable{publicWS.BaseTypeClone(){WS.Base... 阅读全文

posted @ 2006-03-26 01:36 mahope 阅读(570) 评论(0) 推荐(0)

Q & A:Does ASP.NET support one-way Web Service operations?
摘要:Q Does ASP.NET support one-way Web Service operations?A Yes, you can implement one-way operations in ASP.NET by setting the OneWay property of the SoapDocumentMethod attribute to true, as shown here:[... 阅读全文

posted @ 2006-03-25 13:37 mahope 阅读(448) 评论(0) 推荐(0)

openwave:Malformed server response
摘要:Rod Malformed server response Posted: Jul 21, 2003 2:26 PM Reply Trying browser emulator 6.2 with VS.NET 2003 and several of the examples from MS Book. The first page loads fine but as soon as the sub... 阅读全文

posted @ 2006-03-18 10:23 mahope 阅读(433) 评论(0) 推荐(0)

web 项目的 csproj 文件要有对应的.webinfo文件才能在vs里面打开
摘要:.webinfo 文件名为 .csproj文件名后加 .webinfo后缀文件内容格式为<VisualStudioUNCWeb> <Web URLPath = "<url path to .csproj>" /></VisualStudioUNCWeb> 阅读全文

posted @ 2006-03-08 23:10 mahope 阅读(951) 评论(0) 推荐(0)