0

What project (C#) type would you suggest for this situation?

Having one application for communicating with distance server from one side (I have API for communication with that server) and communication with lots of different applications (call them clients) on user computers.

I need to have only one server connection in any giving moment, but every client can have his requests separately.

Can clients communicate with server using some kind of Objects (.net objects)?

My idea is to make windows service, but I not sure is this a good approach?

Perception
  • 79,279
  • 19
  • 185
  • 195
Vasoli
  • 77
  • 7
  • WCF with SOAP is the toy you want – cuongle Jan 28 '13 at 11:51
  • Can I have some kind of shared memory? – Vasoli Jan 28 '13 at 12:00
  • 1
    @Vasoli: Windows service can't communicate with anything itself. On the other hand, any communication technology can be implemented in several types of applications. Your question is ambiguous. – Dennis Jan 28 '13 at 12:06
  • @Dennis I need a way to have only one instance of object which communicate to server but I need that multiply client apps share memory (data from server) without having their copy of that memory. – Vasoli Jan 28 '13 at 13:10
  • Use Queue for memory sharing (MSMQ, RabbitMQ...) – cuongle Jan 28 '13 at 16:46

1 Answers1

0

You can use WCF InProc for inter process communication. Check the tutorial.

Also ZeroMQ can be used as an alternative for InProc communication.