dotnetcore.wsdl
.netcore反射接口,生成wsdl文档相关代码,从.NETFramework版本改造而来;生成调用
ServiceDescriptionReflectorreflector=newServiceDescriptionReflector();
reflector.Reflect(_serviceType,$"http://localhost:9001/service.asmx");
if(reflector.ServiceDescriptions.Count>0)
{
reflector.ServiceDescriptions[0].Write(fileName);
下载地址
用户评论