﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-万事皆相通，编程亦如此-随笔分类-WCF</title><link>http://www.cnblogs.com/LazyBee/category/120215.html</link><description>要学会好好的懒惰</description><language>zh-cn</language><lastBuildDate>Wed, 30 Jul 2008 16:06:28 GMT</lastBuildDate><pubDate>Wed, 30 Jul 2008 16:06:28 GMT</pubDate><ttl>60</ttl><item><title>COM(VB/VBA/Script)利用服务标记调用WCF服务之三使用WSDL契约</title><link>http://www.cnblogs.com/LazyBee/archive/2008/07/30/1256679.html</link><dc:creator>懒蜜蜂</dc:creator><author>懒蜜蜂</author><pubDate>Wed, 30 Jul 2008 09:45:00 GMT</pubDate><guid>http://www.cnblogs.com/LazyBee/archive/2008/07/30/1256679.html</guid><wfw:comment>http://www.cnblogs.com/LazyBee/comments/1256679.html</wfw:comment><comments>http://www.cnblogs.com/LazyBee/archive/2008/07/30/1256679.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/LazyBee/comments/commentRss/1256679.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/LazyBee/services/trackbacks/1256679.html</trackback:ping><description><![CDATA[摘要: 前面我们介绍了使用MEX契约的服务标记在COM中调用WCF服务，这种方式是通过MEX终结点动态取得元数据，使用起来是比较方便；但是有时服务的元数据中可能包含恶意用户可以利用的关于应用程序的敏感信息，也就是说为了安全考虑有些服务可能不会通过MEX公布元数据信息。如果哦某些服务没有公布元数据信息，用类型化有比较麻烦，针对这种情况我们该如何在COM中调用WCF服务呢？这时我们可以使用WSDL契约来进行WCF服务的调用，使用这种方式和使用MEX类似，同样不需要进行类型的注册，信息都是通过动态得到，不过有一个不好的地方就是需要使用其他手段来取得服务的WSDL描述。好了，下面就让我们开始

&nbsp;&nbsp;<a href='http://www.cnblogs.com/LazyBee/archive/2008/07/30/1256679.html'>阅读全文</a><img src ="http://www.cnblogs.com/LazyBee/aggbug/1256679.html?type=1" width = "1" height = "1" />]]></description></item><item><title>COM(VB/VBA/Script)利用服务标记调用WCF服务之二使用MEX契约</title><link>http://www.cnblogs.com/LazyBee/archive/2008/07/25/1251116.html</link><dc:creator>懒蜜蜂</dc:creator><author>懒蜜蜂</author><pubDate>Fri, 25 Jul 2008 02:54:00 GMT</pubDate><guid>http://www.cnblogs.com/LazyBee/archive/2008/07/25/1251116.html</guid><wfw:comment>http://www.cnblogs.com/LazyBee/comments/1251116.html</wfw:comment><comments>http://www.cnblogs.com/LazyBee/archive/2008/07/25/1251116.html#Feedback</comments><slash:comments>10</slash:comments><wfw:commentRss>http://www.cnblogs.com/LazyBee/comments/commentRss/1251116.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/LazyBee/services/trackbacks/1251116.html</trackback:ping><description><![CDATA[摘要: 上一篇我们使用类型化契约的服务标记在COM中调用WCF服务，不过这个有一定的局限性，因为需要注册类型，所以需要.Net FrameWork,但是在很多情况下COM客户端所在的环境没有.Net Framework,比如说在Excel中，需要调用一个WCF服务来计算某个单元格的值，而且这个Excel文件可能分发到许多机器上，你总不能给每台机器都装一个.Net Framework，同时都去给它注册所需的类型吧。针对这种场景，我们可以使用MEX契约的服务标记来动态得到服务契约，这样就可以满足我们上面的场景的要求了。&nbsp;&nbsp;<a href='http://www.cnblogs.com/LazyBee/archive/2008/07/25/1251116.html'>阅读全文</a><img src ="http://www.cnblogs.com/LazyBee/aggbug/1251116.html?type=1" width = "1" height = "1" />]]></description></item><item><title>COM(VB/VBA/Script)利用服务标记调用WCF服务之一使用类型化契约</title><link>http://www.cnblogs.com/LazyBee/archive/2008/07/24/1250766.html</link><dc:creator>懒蜜蜂</dc:creator><author>懒蜜蜂</author><pubDate>Thu, 24 Jul 2008 09:42:00 GMT</pubDate><guid>http://www.cnblogs.com/LazyBee/archive/2008/07/24/1250766.html</guid><wfw:comment>http://www.cnblogs.com/LazyBee/comments/1250766.html</wfw:comment><comments>http://www.cnblogs.com/LazyBee/archive/2008/07/24/1250766.html#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://www.cnblogs.com/LazyBee/comments/commentRss/1250766.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/LazyBee/services/trackbacks/1250766.html</trackback:ping><description><![CDATA[摘要: 随着WCF的逐渐被广大开发人员采用，有时候就会遇到旧的系统调用新写的WCF服务的场景，这篇文章中主要介绍COM(VB/VBA/Script)利用类型化契约的服务标记调用WCF服务的方式。&nbsp;&nbsp;<a href='http://www.cnblogs.com/LazyBee/archive/2008/07/24/1250766.html'>阅读全文</a><img src ="http://www.cnblogs.com/LazyBee/aggbug/1250766.html?type=1" width = "1" height = "1" />]]></description></item><item><title>WCF Data Contract之集合类型</title><link>http://www.cnblogs.com/LazyBee/archive/2008/03/04/1090058.html</link><dc:creator>懒蜜蜂</dc:creator><author>懒蜜蜂</author><pubDate>Tue, 04 Mar 2008 05:08:00 GMT</pubDate><guid>http://www.cnblogs.com/LazyBee/archive/2008/03/04/1090058.html</guid><wfw:comment>http://www.cnblogs.com/LazyBee/comments/1090058.html</wfw:comment><comments>http://www.cnblogs.com/LazyBee/archive/2008/03/04/1090058.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnblogs.com/LazyBee/comments/commentRss/1090058.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/LazyBee/services/trackbacks/1090058.html</trackback:ping><description><![CDATA[摘要: WCF中对数据契约（协定）中使用集合的总结，包括在集合类型中如何使用DataContract属性，以及在WCF中使用集合的一些规则。&nbsp;&nbsp;<a href='http://www.cnblogs.com/LazyBee/archive/2008/03/04/1090058.html'>阅读全文</a><img src ="http://www.cnblogs.com/LazyBee/aggbug/1090058.html?type=1" width = "1" height = "1" />]]></description></item><item><title>WCF Data Contract之枚举</title><link>http://www.cnblogs.com/LazyBee/archive/2008/02/26/1082553.html</link><dc:creator>懒蜜蜂</dc:creator><author>懒蜜蜂</author><pubDate>Tue, 26 Feb 2008 09:01:00 GMT</pubDate><guid>http://www.cnblogs.com/LazyBee/archive/2008/02/26/1082553.html</guid><wfw:comment>http://www.cnblogs.com/LazyBee/comments/1082553.html</wfw:comment><comments>http://www.cnblogs.com/LazyBee/archive/2008/02/26/1082553.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/LazyBee/comments/commentRss/1082553.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/LazyBee/services/trackbacks/1082553.html</trackback:ping><description><![CDATA[摘要: WCF Data Contract中使用枚举进行总结说明，包括简单枚举类型、使用数据契约模型的枚举、以及应用NonSerialized等。<br>02/28/2008:增加了使用枚举在OperationContract中出错情况的处理以及处理方法。&nbsp;&nbsp;<a href='http://www.cnblogs.com/LazyBee/archive/2008/02/26/1082553.html'>阅读全文</a><img src ="http://www.cnblogs.com/LazyBee/aggbug/1082553.html?type=1" width = "1" height = "1" />]]></description></item><item><title>WCF Data Contract之版本</title><link>http://www.cnblogs.com/LazyBee/archive/2008/02/25/1080936.html</link><dc:creator>懒蜜蜂</dc:creator><author>懒蜜蜂</author><pubDate>Mon, 25 Feb 2008 08:28:00 GMT</pubDate><guid>http://www.cnblogs.com/LazyBee/archive/2008/02/25/1080936.html</guid><wfw:comment>http://www.cnblogs.com/LazyBee/comments/1080936.html</wfw:comment><comments>http://www.cnblogs.com/LazyBee/archive/2008/02/25/1080936.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnblogs.com/LazyBee/comments/commentRss/1080936.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/LazyBee/services/trackbacks/1080936.html</trackback:ping><description><![CDATA[摘要: 对WCF Data Contract中版本的内容的总结，包括新增成员、缺失成员、版本往返，以及IsRequired和EmitDefaultValue对版本的影响。&nbsp;&nbsp;<a href='http://www.cnblogs.com/LazyBee/archive/2008/02/25/1080936.html'>阅读全文</a><img src ="http://www.cnblogs.com/LazyBee/aggbug/1080936.html?type=1" width = "1" height = "1" />]]></description></item><item><title>WCF Data Contract之契约等价</title><link>http://www.cnblogs.com/LazyBee/archive/2008/02/20/1075049.html</link><dc:creator>懒蜜蜂</dc:creator><author>懒蜜蜂</author><pubDate>Wed, 20 Feb 2008 06:54:00 GMT</pubDate><guid>http://www.cnblogs.com/LazyBee/archive/2008/02/20/1075049.html</guid><wfw:comment>http://www.cnblogs.com/LazyBee/comments/1075049.html</wfw:comment><comments>http://www.cnblogs.com/LazyBee/archive/2008/02/20/1075049.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.cnblogs.com/LazyBee/comments/commentRss/1075049.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/LazyBee/services/trackbacks/1075049.html</trackback:ping><description><![CDATA[摘要: 客户端和服务之间要能够进行成功的通讯，并不一定要求通讯的双方都具有相同的类型，只需要通讯双方的类型具有等价的数据契约就可以了。如果Data Contract满足以下条件，我们说它们是等价的&nbsp;&nbsp;<a href='http://www.cnblogs.com/LazyBee/archive/2008/02/20/1075049.html'>阅读全文</a><img src ="http://www.cnblogs.com/LazyBee/aggbug/1075049.html?type=1" width = "1" height = "1" />]]></description></item><item><title>WCF Data Contract之KnownType</title><link>http://www.cnblogs.com/LazyBee/archive/2008/01/17/1043097.html</link><dc:creator>懒蜜蜂</dc:creator><author>懒蜜蜂</author><pubDate>Thu, 17 Jan 2008 08:05:00 GMT</pubDate><guid>http://www.cnblogs.com/LazyBee/archive/2008/01/17/1043097.html</guid><wfw:comment>http://www.cnblogs.com/LazyBee/comments/1043097.html</wfw:comment><comments>http://www.cnblogs.com/LazyBee/archive/2008/01/17/1043097.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/LazyBee/comments/commentRss/1043097.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/LazyBee/services/trackbacks/1043097.html</trackback:ping><description><![CDATA[摘要: 本文主要介绍WCF Data Contract中的KnownType的使用场合，以及使用的规则总结.同时也介绍了ServiceKnownType的部分内容。&nbsp;&nbsp;<a href='http://www.cnblogs.com/LazyBee/archive/2008/01/17/1043097.html'>阅读全文</a><img src ="http://www.cnblogs.com/LazyBee/aggbug/1043097.html?type=1" width = "1" height = "1" />]]></description></item><item><title>WCF Service Contract之MEPs</title><link>http://www.cnblogs.com/LazyBee/archive/2008/01/16/1041647.html</link><dc:creator>懒蜜蜂</dc:creator><author>懒蜜蜂</author><pubDate>Wed, 16 Jan 2008 09:14:00 GMT</pubDate><guid>http://www.cnblogs.com/LazyBee/archive/2008/01/16/1041647.html</guid><wfw:comment>http://www.cnblogs.com/LazyBee/comments/1041647.html</wfw:comment><comments>http://www.cnblogs.com/LazyBee/archive/2008/01/16/1041647.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/LazyBee/comments/commentRss/1041647.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/LazyBee/services/trackbacks/1041647.html</trackback:ping><description><![CDATA[摘要: 以前所看到的Duplex模式都是使用One Way模式，这里我在微软Duplex例子的基础上增加了Request-Replay服务操作，并且介绍一种将SVCUtil命令写在IDE的编译事件中以方便对服务契约的修改的方法。&nbsp;&nbsp;<a href='http://www.cnblogs.com/LazyBee/archive/2008/01/16/1041647.html'>阅读全文</a><img src ="http://www.cnblogs.com/LazyBee/aggbug/1041647.html?type=1" width = "1" height = "1" />]]></description></item></channel></rss>