开发者

WCF Wsdl - Get rid of the "tns" xml namespace prefix with my own prefix?

开发者 https://www.devze.com 2023-03-21 05:40 出处:网络
Is there any way to replace all tns prefixes by my own when my WSDL is generated? I know that setting the namespace and name of my ServiceContract, OperationContract, DataContract, etc. makes it so

Is there any way to replace all tns prefixes by my own when my WSDL is generated?

I know that setting the namespace and name of my ServiceContract, OperationContract, DataContract, etc. makes it so I don't have the ugly http://tempuri.org/ namespace,开发者_如何学运维 but how can I change the prefix?

0

精彩评论

暂无评论...
验证码 换一张
取 消