First of all, I'm not a professional so please be indulgent I have an ASPX (or Silverlight) web application consuming a REST service I "designed". The goal of the service is to send command to the serial port of a server on which I plugged an arduino. I succeeded in sending message throw the serial port, however it is not an elegant way :The web application consumes a REST(get) service telling the server to send a message to the serial port. The serial port object is created, the port is opened, then the message could be sent:\[code\] SerialPort mySerial = new SerialPort("/dev/ttyACM0", 9600); mySerialPort.Open(); mySerial.WriteLine("UP0");\[/code\]This is not an efficient way because each time I call the REST service, a SerialPort object is created, and furthermore I can't check if the port is already opened or not. What I would like to do is first create the SerialPort object, then open the serial port with a service, and then send a message throw the serial with another service.... but I can't figure out how to do that ? That's quite easy in a standalone application, but in a web application, I don't know (that's my first web application).Thanks for your help !