Looking for a WCF host
-
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
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.
-
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
Where did you see it last?
-
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
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.
-
Where did you see it last?
Lol. Not usually a fan of the smart ass responses, but this one is good :).
-
Lol. Not usually a fan of the smart ass responses, but this one is good :).
I try to hold off such responses until there's at least one serious response.
-
Where did you see it last?
-
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.
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
-
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.
-
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
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.