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.
精彩评论