开发者

WCF equivalent of ServiceDescriptionReflector

开发者 https://www.devze.com 2023-01-27 08:21 出处:网络
For an asmx w开发者_C百科ebservice ServiceDescriptionReflector can be used to generate a schema programmatically for message validation.

For an asmx w开发者_C百科ebservice ServiceDescriptionReflector can be used to generate a schema programmatically for message validation.

Is their a WCF equivalent for runtime schema generation?


If you want to customize the WSDL generation process, implement a Contract or Endpoint behavior and inject a custom IWsdlExportExtension implementation.

Here's an older sample I wrote on that a few years ago.

0

精彩评论

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