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. C#
  4. Looking for a WCF host

Looking for a WCF host

Scheduled Pinned Locked Moved C#
csharpwcfsysadminquestion
10 Posts 5 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.
  • L Offline
    L Offline
    L Viljoen
    wrote on last edited by
    #1

    I would like to know if possible if there is a way of looking for a wcf host on the local network ?

    Chona1171 Web Developer (C#), Silverlight

    L P J 3 Replies Last reply
    0
    • L L Viljoen

      I would like to know if possible if there is a way of looking for a wcf host on the local network ?

      Chona1171 Web Developer (C#), Silverlight

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Do you mean a service? Why look for the host? ANd why not put this in the WCF forum instead?

      Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet.

      L 1 Reply Last reply
      0
      • L L Viljoen

        I would like to know if possible if there is a way of looking for a wcf host on the local network ?

        Chona1171 Web Developer (C#), Silverlight

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #3

        Where did you see it last?

        S L 2 Replies Last reply
        0
        • L L Viljoen

          I would like to know if possible if there is a way of looking for a wcf host on the local network ?

          Chona1171 Web Developer (C#), Silverlight

          J Offline
          J Offline
          jschell
          wrote on last edited by
          #4

          In general no. There isn't any reasonable way to identify protocol, type, etc generically. Nor much point since you must already know something about it to use it. However you can write a UDP protocol service that does the following. 1. Each host starts a UDP port 2. Requests to the port are responded to with enough information that identifies what kind of host is available. 3. On start up a client sends a UDP request and processes response(s). You could also do a ldap registration I suppose.

          L 1 Reply Last reply
          0
          • P PIEBALDconsult

            Where did you see it last?

            S Offline
            S Offline
            SledgeHammer01
            wrote on last edited by
            #5

            Lol. Not usually a fan of the smart ass responses, but this one is good :).

            P 1 Reply Last reply
            0
            • S SledgeHammer01

              Lol. Not usually a fan of the smart ass responses, but this one is good :).

              P Offline
              P Offline
              PIEBALDconsult
              wrote on last edited by
              #6

              I try to hold off such responses until there's at least one serious response.

              1 Reply Last reply
              0
              • P PIEBALDconsult

                Where did you see it last?

                L Offline
                L Offline
                L Viljoen
                wrote on last edited by
                #7

                Not normally a fan of getting wise ass responses but good 1.

                Chona1171 Web Developer (C#), Silverlight

                1 Reply Last reply
                0
                • J jschell

                  In general no. There isn't any reasonable way to identify protocol, type, etc generically. Nor much point since you must already know something about it to use it. However you can write a UDP protocol service that does the following. 1. Each host starts a UDP port 2. Requests to the port are responded to with enough information that identifies what kind of host is available. 3. On start up a client sends a UDP request and processes response(s). You could also do a ldap registration I suppose.

                  L Offline
                  L Offline
                  L Viljoen
                  wrote on last edited by
                  #8

                  Finally a useful response. You see you still have to configure the endpoint address the client has to look for, and as I have a pretty general piece of software here, i want end users to be able to install it on their business network without having to answer millions of support calls. thx for the advice!

                  Chona1171 Web Developer (C#), Silverlight

                  J 1 Reply Last reply
                  0
                  • L Lost User

                    Do you mean a service? Why look for the host? ANd why not put this in the WCF forum instead?

                    Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet.

                    L Offline
                    L Offline
                    L Viljoen
                    wrote on last edited by
                    #9

                    ya i probably could've , but i am so sick of translating VB at this point and even though the question is relating wcf the solution could have more to do with the other aspect of the C# language.

                    Chona1171 Web Developer (C#), Silverlight

                    1 Reply Last reply
                    0
                    • L L Viljoen

                      Finally a useful response. You see you still have to configure the endpoint address the client has to look for, and as I have a pretty general piece of software here, i want end users to be able to install it on their business network without having to answer millions of support calls. thx for the advice!

                      Chona1171 Web Developer (C#), Silverlight

                      J Offline
                      J Offline
                      jschell
                      wrote on last edited by
                      #10

                      Chona1171 wrote:

                      You see you still have to configure the endpoint address the client has to look for, and as I have a pretty general piece of software here, i want end users to be able to install it on their business network without having to answer millions of support calls.

                      Presumably by "configure" you are referring to things like 'closeTimeou', etc. There are two possibilities 1. You are creating a library 2. You are creating an application. For 2 most configuration values should not be configurable per install because most of them are related specifically to the business functionality. There might be some values, like 'listenBacklog' that you might hypothetically consider relevant how the solution for that is easy. Provide a default and provide a way to override it if it should come up. Via that methodology then the UDP server posts the modifications. There is of course nothing that says the UDP can't post the entire config although there is two problems with that. 1. An application that presumes that all values are configurable is probably just ignoring what the application does. 2. The client config isn't the same as the server config anyways. If a library then the the target customers are not business users, instead it is developers.

                      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