Using C# to Queue up request for a Server Program?

  • Thread starter Thread starter David
  • Start date Start date
D

David

I want to write a server program in C# that will handle a pool of
requests from another process but not be directly called by the
process. The process will place a resulting message back into the
pool to be picked up by the calling process.

Is there a way to handle this in .net & c# beyond putting the
requests/response into some type of file, xml, or a database table?

Thanks
 
David said:
I want to write a server program in C# that will handle a pool of
requests from another process but not be directly called by the
process. The process will place a resulting message back into the
pool to be picked up by the calling process.

Is there a way to handle this in .net & c# beyond putting the
requests/response into some type of file, xml, or a database table?

David,

Sure there is! You can use MSMQ which has native support in .net and write a
COM+ trigger or have your service app poll the message queue for new
messages. Its part of the OS so you don't need to pay for a license like the
DB option.

hth
andrew
 
Back
Top