More than 1 end point for WCF Service
-
Hi all, Recently i gave a interview on WCF. PLease find below question... Q : Service S is there. Client A is connecting with S. Now Cleint B also want to communicate with S.Now can I create 2 end points for Service S r else wt shud I do. If I creates 2 end points then what will be the impact. Thanks in advance, Srinivas Mateti
-
Hi all, Recently i gave a interview on WCF. PLease find below question... Q : Service S is there. Client A is connecting with S. Now Cleint B also want to communicate with S.Now can I create 2 end points for Service S r else wt shud I do. If I creates 2 end points then what will be the impact. Thanks in advance, Srinivas Mateti
Yes you can have multiple endpoints for a single service. Apart from the way messages would be exchanged (binary/SOAP) I don't see an impact. Also, I don't see any harm in having multiple end points. Now, do I get the job? ;)
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
-
Hi all, Recently i gave a interview on WCF. PLease find below question... Q : Service S is there. Client A is connecting with S. Now Cleint B also want to communicate with S.Now can I create 2 end points for Service S r else wt shud I do. If I creates 2 end points then what will be the impact. Thanks in advance, Srinivas Mateti
Why can't the two clients use the same endpoint?
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Hi all, Recently i gave a interview on WCF. PLease find below question... Q : Service S is there. Client A is connecting with S. Now Cleint B also want to communicate with S.Now can I create 2 end points for Service S r else wt shud I do. If I creates 2 end points then what will be the impact. Thanks in advance, Srinivas Mateti
You can have multiple endpoint for a WCF Service. Using this Service can support multiple biding protocol like http, tcp and can communicate with Intranet and internet also. Here is the complete implementation of multiple endpoints : Exposing a WCF Service With Multiple Bindings and Endpoints[^]
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
You can have multiple endpoint for a WCF Service. Using this Service can support multiple biding protocol like http, tcp and can communicate with Intranet and internet also. Here is the complete implementation of multiple endpoints : Exposing a WCF Service With Multiple Bindings and Endpoints[^]
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
You guys must be good mind readers... I don't see how the number of WCF endpoints has anything to do with the number of clients that can connect... :)
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
You guys must be good mind readers... I don't see how the number of WCF endpoints has anything to do with the number of clients that can connect... :)
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
so..do u mean that..even we have more than one client..then all clients can connect with single end point..is it true??? Thanks, Srinivas Mateti
sris 426 wrote:
even we have more than one client..then all clients can connect with single end point..is it true???
Well, first clarify what you mean by endpoint. Assuming you mean a WCF service endpoint, which consists of an address, a binding, and a contract, then yes, unless something about the binding specifically prohibits more than one simultaneous connection. Consider this....if every client required the server to provide a unique service endpoint, how would you provide the endpoint without knowing in advance that the client needs it? :)
Mark Salsbery Microsoft MVP - Visual C++ :java: