I am developing my first real project in c# an i was planning to build a client/server based application. I would not prefer to make a direct mysql server connection due to security reasons.
What would be the best solution for send/recv of data without making a direct mysql connection from the c# client?
Would it be possible/safe to use the c# client against a PHP webserver with SOAP for send/recv all of the data or maybe exchange all of the data with socket handlers? What would be the best way to do this and what is the most common way?