Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个非常简单的 WCF 服务(常规 wshttp 绑定)的 WSDL,我计划在 IIS 中构建和托管一个简单的模型服务,以便我可以继续我的开发,有没有什么快速的方法/有用的工具可以做到这一点?谢谢
你根本不需要这项服务。只需使用接口并创建模拟服务。
[ServiceContract] public interface ICalculator { [OperationContract] int Add(int a, int b); } public class MyMockCalculator : ICalculator { public int Add(int a, int b) { return 0; } }