摘要: 项目一:类库项目。定义服务,code实现服务接口的类。[如上图的Service]namespace CodesContract{ [ServiceContract(Name = "CodeService", Namespace = "http://www.rxm.net")] public interface ICodeContract { [OperationContract] string GetName(string name); } public class CodeContract : ICodeContract { #region ICode 阅读全文
posted @ 2012-12-22 23:02 hometown 阅读(241) 评论(0) 推荐(0) 编辑