开发者

WCF: Service to service call

Suppose i have following WCF Services.

UtilityService (Servi开发者_如何学Cce to provide utility functions)

SomeOtherService 1

SomeOtherService 2

SomeOtherService 3

what is the best design to Use UtilityService in other services.

All services are exposed on separate endpoints...


Are those services in the same application? If yes create the instance of the service class directly instead of using all the WCF infrastructure! If they are not in the same application (and you don't share service assembly) you must use Add service reference as with any other WCF service.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜