开发者

Does MTOM require a messageContract in WCF?

Is there any way use datacontracts while using M开发者_StackOverflowtom?


There's nothing preventing you from using data contracts with MTOM.


no, but the only thing in the body of the message must be the file. if you have more than one parameter in the method, you must use a message contract because you have to specify where the things will go, on the header or on the body. This way you can put only the file in the body.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜