
WCF
volnet
请通过我的博客了解我http://volnet.cnblogs.com
展开
-
[WCF]How to Hosting?
理清楚Host和Client的关系显得非常重要。今天在VS2005上安装了WCF扩展,才发现原来2005上的扩展与VS2008的wcf模板不太一样,汗一个先……2005的WcfServiceLibrary:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHi原创 2007-11-30 12:02:00 · 287 阅读 · 0 评论 -
[WCF]继承
在过去中,我们已经习惯了C#继承的各个特性,我们可以按如下的方式定义我们的继承关系: [ServiceContract] public interface ISimpleCalculator { //Other Me原创 2007-11-12 03:03:00 · 634 阅读 · 0 评论 -
[WCF]重载
WCF中的接口不允许有重载:例如:namespace WcfServiceLibrary1{ // NOTE: If you change the interface name "IService1" here, you must also update the reference to "IService1" in App.config. [Service原创 2007-11-10 22:03:00 · 734 阅读 · 1 评论 -
[WCF]Choosing a binding
[Programming WCF Services] If your service needs to interact with non-WCF clients. A.[yes]:(第一个分支向左(走[no])) 1.If the client is a legacy MSMQ client,choose the MsmqIntergrationBinding (that enabl原创 2007-11-08 22:03:00 · 230 阅读 · 0 评论 -
[WCF]契约查询ContractQueries
当我们拿到一个服务地址的时候该如何知道这个服务所提供的服务呢?如果是您自己开发的Service,这一点或许不需要兴师动众,但是如果是别人开发的服务,那么了解服务中的Endpoint将显得格外重要,本文将利用对[WCF]继承中所构建的服务代码进行分析。 打开其程序代码添加一个ConsoleApplication应用程序,新建程序,代码如下: using System;using Sy原创 2007-11-13 02:03:00 · 253 阅读 · 0 评论 -
[WCF]由于签名问题,运行某些基于 WCF 的项目模板将导致与 svcutil.exe 崩溃
Problem: Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly svcutil, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b原创 2007-11-10 16:03:00 · 475 阅读 · 0 评论 -
[Review]Developing Service-Oriented AJAX Applications on the Microsoft® Platform
首先感谢China MVP Team将这本书借阅与我,我已经很认真阅读了这本书,现在和大家分享我的一些小小的心得。《Developing Service-Oriented AJAX Applications on the Microsoft Platform》AMAZON MSPRESS Code Download(7.68MB) Author Blog,是一本重点描述Mic原创 2008-12-16 04:59:00 · 307 阅读 · 0 评论 -
[WCF]Instance Management
[有兴趣阅读本文的请从头至尾阅读,有兴趣帮助我解答疑问的请从尾至头读(红色部分),万分感谢!]我们很容易理解在旧有编程模型中关于类实例的内容。设计模式中Singleton也就是在描述着档子事。但基于WCF并非适合于以上场景,Service与Client之间要保持良好的Instance模型则需要依靠很多其他机制。Programming WCF Service Chapter4 对此进原创 2008-07-18 20:01:00 · 510 阅读 · 0 评论