摘要:
码是这样的,这里我们增一个扩展方法,这样使我们的代码更加简洁,您会在后面的Unit Test中看到: 1: public interface ITestObject 2: { 3: int Div(int num1, int num2); 4: } 5: 6: public class TestOb 阅读全文
摘要:
WebHttpBinding bd = new WebHttpBinding(); //WebServiceHost sh = new WebServiceHost(typeof(Bl_x), new Uri("http://localhost/xxii")); //ServiceHost sh = new ServiceHost(typeo... 阅读全文
摘要:
using System; using System.Collections.ObjectModel; using System.Reflection; using System.ServiceModel; using System.ServiceModel.Channels; using System.ServiceModel.Description; using System.Service... 阅读全文