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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top