
My scenario is as shown in the figure below. I have a database which is in the customer premises. It is connected to the a remote web server over the internet. I have to develop a mobile website which can manipulate data (insert, delete…etc) in this database.
Which is the best way of doing this? Do I have to use webservices? (I have limited knowledge of webservices).
No, you don’t have to use webservices.
This scenario’s no different to the database server being hosted on your internal LAN – you simply address it in the connection string using a fully-qualified domain.
E.g.:
The only difference is that you need to be a little more security-aware having a database server exposed to the internet.