![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
WCF学习
文章平均质量分 69
Warrior
C#,Asp.Net,VB,VBA,SQL VC ,Server,Oracle,OPC,
Spring.net,NHibernate,UML,PD and etc.
展开
-
WCF中的函数重载问题
案很简单,使用 OperationContract.Name[ServiceContract]public interface IContract{ [OperationContract(Name="Test1")] void Test(int i); [OperationContract(Name="Test2")] void Test(string s);}原创 2009-07-15 11:01:00 · 531 阅读 · 0 评论 -
设置启动程序
App.xaml中设置: StartupUril="windowname" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" StartupUri="frmLogin.xaml"原创 2009-07-23 13:18:00 · 256 阅读 · 0 评论 -
三种访问模式(Per-Call Service,Sessionful Service,Singleton Service)
1.单调服务(Per-Call Service):每次的客户端请求分配一个新的服务实例。类似于Net Remoting的SingleCall模式; 单调服务(Per-Call Service):每次的客户端请求分配一个新的服务实例。服务实例的生存周期紧紧限制于一次调用的开始与结束之间。客户端的每次请求都会产生新的服务实例来响应这个调用。类似于Net Remoting的SingleCall模原创 2009-07-15 10:35:00 · 990 阅读 · 0 评论