介绍WCF(Windows Communication Foundation) -
事务(Transaction): ·对契约方法
使用
TransactionFlowAttribute声明(设置TransactionFlowOption参
数
),以指定服务操作的事务流策略
·对
服务方法是用OperationBehaviorAttribute
声明(设置Transactio
转载
2010-11-30 14:24:00
50阅读
2评论
WCF(Windows Communication Foundation) - 安全(Security):本文以用户名和做验证,通过X.509证书做加密为例
转载
2008-07-16 08:38:00
52阅读
2评论
WCF(Windows Communication Foundation) - 事务(Transaction):
转载
2008-06-24 16:17:00
46阅读
2评论
[源码下载]
化零为整WCF系列文章索引作者:webabcd介绍WCF (Windows Communication Foundation) :契约, 绑定, 宿主, 异常处理, 异步调用, 双向通讯, MTOM, 流数据传输, 序列化, 实例模型, 会话状态, 并发, 限流, 事务, 安全, 可靠性消息, 消息队列, WCF创建REST, AJAX调用WCF1、化零为整WCF(1) - 不能免
原创
2008-07-24 08:09:00
913阅读
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; namespace WCF.ServiceLib.Security { &nb
原创
2008-07-16 08:38:00
489阅读
WCF(Windows Communication Foundation) - 实例模型:
转载
2008-05-08 18:45:00
73阅读
2评论
OperationContract
IsInitiating - 获取或设置一个值,该值指示方法是否实现可在服务器上启动会话(如果存在会话)的操作。
IsTerminating - 获取或设置一个值,该值指示服务操作在发送答复消息(如果存在)后,是否会导致服务器关闭会话。
转载
2008-05-13 13:44:00
56阅读
2评论
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; namespace WCF.ServiceLib.InstanceMode {  
原创
2008-05-08 18:45:00
699阅读
[索引页][源码下载]
化零为整WCF(11) - 会话状态(Session)作者:webabcd介绍WCF(Windows Communication Foundation) - 会话状态: ServiceContract ·SessionMode.Allowed - 指定当传入绑定支持会话时,协定也支持会话(
原创
2008-05-13 13:44:00
453阅读
WCF(Windows Communication Foundation) - WCF 4.0 新特性:简化配置(Simplified configuration) - 根据 baseAddresses 结点中的 webScriptEndpoint 来提供 ajax 服务;对 REST 服务支持的增强;对路由服务,工作流服务,字节流编码,非破坏性队列接收,服务发现的支持
转载
2010-08-02 09:08:00
74阅读
2评论
近日,武汉市民热线发布的“反向抹零”受到广泛关注。有市民提及,停车时间的处理不合理,停车场“化零为整”的计费方式,类似于商户收费“反向抹零”。该市民认为,停车时间按小时计算,停车不到一小时按一小时计算,就是“反向抹零”的表现。他表示,既然是按小时收费,就应该停满一小时,才计算收费,不到一小时,就应该按实际时间收费。否则,无形中侵害了消费者的权益。(7月2日九派新闻)
停车费以小时计
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; using System.Runtime.Serialization; namespace WCF.ServiceLib.Contract { &nb
原创
2007-12-17 11:33:00
1397阅读
2、宿主Hello.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; namespace WCF.ServiceHost2.Binding {
原创
2007-12-27 15:58:00
1495阅读
2、宿主Reliable.svc
<?xml version="1.0"?> <configuration> <system.serviceModel>
原创
2008-07-04 08:50:00
485阅读
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; using System.Runtime.Serialization; namespace WCF.ServiceLib.Exception { &n
原创
2008-01-28 14:12:00
826阅读
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; namespace WCF.ServiceLib.Message { &nbs
原创
2008-07-11 14:47:00
827阅读
maxConcurrentCalls - 服务中同时存在的最大活动消息数,默认值为 16
maxConcurrentInstances - 服务中同时存在的最大服务实例数,默认值为 Int32.MaxValue
maxConcurrentSessions - 服务中同时存在的最大会话数,默认值为 10
转载
2008-06-03 19:30:00
83阅读
2评论
SoapFormatterObject.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Serialization; using System.Xml.Serialization; namespace WCF.Serv
原创
2008-04-24 09:13:00
1246阅读
DuplexReentrant.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; namespace WCF.ServiceHost2.Message { &n
原创
2008-06-03 19:30:00
560阅读