Interaction With Windows Services

  • Thread starter Thread starter Rami
  • Start date Start date
R

Rami

Hey,
Can I raise an event from a .Net Windows Service?
So that if some application hooks on to my service (using Remoting)
He'll be able to recieve my events?
Thanks ahead
 
I belive it is possible to host .net remoting components both in windows
service and in IIS. You could declare an event in the component, that clients
would subscribe to. Then you could call the event whenever your need and your
clients will be notified accordingly. You should consider implementing
asynchronous method calls and/or use [OneWay] attribute to prevent your
server to be blocked by misbehaving clents.

If you want to know all details I recommed you a book

Advanced .NET Remoting (C# Edition)
by Ingo Rammer
 
Back
Top