WCF 契约默认情况下名字是接口名,但是如果公开的契约是类,那名字是什么。。。[ServiceContract]class MyService{[OperationContract]string MyMethod(){return "Hello WCF";}}
你可能通过发布http路径查看到名称