what is the use of multiple endpoints in WCF service?
-
i have seen people decorate their config file with multiple endpoints in WCF service. is there any reason. when one endpoint is ok then why two or more endpoints are require? tell me small situation when multiple endpoints is required.
tbhattacharjee
-
i have seen people decorate their config file with multiple endpoints in WCF service. is there any reason. when one endpoint is ok then why two or more endpoints are require? tell me small situation when multiple endpoints is required.
tbhattacharjee
First thought that comes to mind is different connections to your WCF service. For example, you might use Named-Pipes for one of your connection end-points. This would only allow applications on your computer to access this end-points. However, you might decide to allow others in the company to connect to your service. But, you wouldn't want to lose the original end-point for internal app-to-app communication on your computer, so you would create a new end-point with this transport difference.
Ben Scharbach Temporalwars.Com YouTube:Ben Scharbach