![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
WCF
cai15191466621
这个作者很懒,什么都没留下…
展开
-
WCF+小知识总结
1. [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall)] 该属性用来控制Service创建的控制模式,PerCall 表示每次来一个请求为其创建一个对象的实例,PerSessio原创 2011-10-13 15:42:35 · 504 阅读 · 0 评论 -
写的一个简单的RestfulWCF程序
1.我程序的架构模式大致是这样的: 2.这是我定义的服务的接口,包括两个GET和一个PUT方法: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; using System.ServiceModel.Web; usi原创 2012-06-06 11:12:28 · 1059 阅读 · 0 评论