Re: Service and Client



On May 11, 9:30 am, Jeff Williams
<jeff.williams_NO_S...@xxxxxxxxxxxxxxx> wrote:
I need to develop an application that runs as a service. Easy there are
samples on how to do this.

I need to have a client which updates information for the service. Easy
to do.

How do I notify the Service that details have been changed by the Client
and the Service needs to re-read the data and update its self.

I would like this to work on a single PC but must consider that I may
need the client running on several PC's with the service on a server.

I would like to send a message from the client(s) to the service and the
service reload the data at a predefined times.

Regards
Jeff

Dear Jeff,

You can use any IPC mechanism such as named pipes, Remote procedure
calls etc.

Since you want to consider IPC over network, I would suggest using Web
Services Enhancments messaging technique (using for instance the the
soap:tcp protocol).

Refer to this article on WSE:
http://msdn2.microsoft.com/en-us/library/ms977323.aspx

Feel free to ask any questions regarding IPC or WSE.

Moty

.



Relevant Pages

  • Re: Service and Client
    ... I need to have a client which updates information for the service. ... How do I notify the Service that details have been changed by the Client and the Service needs to re-read the data and update its self. ... IPC channel for local connections and the TCP channel for LAN connections. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Service and Client
    ... I need to have a client which updates information for the service. ... How do I notify the Service that details have been changed by the Client and the Service needs to re-read the data and update its self. ... use the ServiceController class which has a method called ExecuteCommand that lets you send an integer to the server. ...
    (microsoft.public.dotnet.languages.csharp)
  • Service and Client
    ... I need to have a client which updates information for the service. ... How do I notify the Service that details have been changed by the Client and the Service needs to re-read the data and update its self. ... I would like this to work on a single PC but must consider that I may need the client running on several PC's with the service on a server. ... I would like to send a message from the clientto the service and the service reload the data at a predefined times. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to call Web Service Securely
    ... Maybe I am complicating WSE too much - can you point me to a simple ... you could provide a logon screen in the client app and create a NetworkCredential ... tokens - but that is tied to .NET 2.0 ... make a web method via dialup to my IIS Web Service. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Ws-Addressing - WSE and vanilla Web Service Proxies
    ... I can clearly get this working by figuring out when i have a WSE client ... writing services on the assumption that my decision to use routing is a good ... You will need minimally the wsa headers. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)