Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WCF and WF
  4. More than 1 end point for WCF Service

More than 1 end point for WCF Service

Scheduled Pinned Locked Moved WCF and WF
csharpwcfquestioncareer
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sris 426
    wrote on last edited by
    #1

    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

    D M A 3 Replies Last reply
    0
    • S sris 426

      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

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      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...!!

      1 Reply Last reply
      0
      • S sris 426

        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

        M Offline
        M Offline
        Mark Salsbery
        wrote on last edited by
        #3

        Why can't the two clients use the same endpoint?

        Mark Salsbery Microsoft MVP - Visual C++ :java:

        1 Reply Last reply
        0
        • S sris 426

          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

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          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.

          M 1 Reply Last reply
          0
          • A Abhijit Jana

            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.

            M Offline
            M Offline
            Mark Salsbery
            wrote on last edited by
            #5

            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:

            S 1 Reply Last reply
            0
            • M Mark Salsbery

              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:

              S Offline
              S Offline
              sris 426
              wrote on last edited by
              #6

              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

              M 1 Reply Last reply
              0
              • S sris 426

                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

                M Offline
                M Offline
                Mark Salsbery
                wrote on last edited by
                #7

                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:

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups