摘要:
项目一:类库项目。定义服务,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 阅读全文