Return of .NET  
宠辱不惊,静观堂前花开花落;去留无意,漫随天外云卷云舒。

随笔分类 -  WCF

Windows Comunication Fundation
  • 最简单的一个WCF实现客户端和服务端
    摘要:信不信由你,无需配置,两个console就好了service side 1.定义ServiceContract:2.new a ServiceHost 3. add endpointusingSystem.ServiceModel;namespaceService{classProgram{staticvoidMain(string[]args){Uriaddress=newUri("http://localhost:8000/myservice");using(ServiceHosthost=newServiceHost(typeof(MyService),address 阅读全文
    posted @ 2011-03-23 13:51 消化酶 阅读(240) 评论(0) 推荐(0)