开发者

how to better organize a web service interface

I have a web service that's ~200 methods strong, implemented using .Net + WCF in a standalone service. we're modelling the backing code to use different handlers for different methods, but eventually there's still that one monolithic interface... I used (and loved) RESTful interfaces in the past, especially for the way they break up a single interface into separate domains. can that be achieved using web services, without splitting the web service? would l开发者_开发问答ove to hear thoughts on the matter.


Why couldn't you define multiple WCF contract interfaces, all to be implemented by the single web service class, which you don't want to split up. You would then expose each interface as a separate service, and they just all happen to be covered by the same class.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜