开发者

WCF response object contents

I see WCF response types (i.e. the types of objects returned from WCF handlers) containing DTO types which in-turn contain the fields t开发者_如何学运维he client is interested in. Is this standard practise? Why not put the fields directly on the response type?


What WCF returns depends upon the binding details (TCP, HTTP etc) and the proxy. Transferring DTO is a standard practice.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜