Visual Studio 2013/2015 Mobile devices and uploading to SQL

Murray Brown
Murray Brown used Ask the Experts™
on
Hi

I built an ASP.net web app in Visual Studio 2010 for a rock drilling concern. Daily drilling data is entered into a spreadsheet, which is then uploaded to a cloud SQL database using functionality on my ASP.net site.

The company have now asked for cost effective options to upload data from mobile devices. What are the best options in Visual Studio 2013/2015 for uploading/validating lists of data to SQL from a mobile device?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2015
Commented:
You create a service on the server that acts as a bridge between the database and the mobile application.

If you use .NET applications on both ends, your best bet is a WCF service. If you expect the mobile application to be something else than a .NET application, then you would be better with a more standard Web service.

The service exposes methods that you can call from the mobile application.

The mobile application uses the service a little as it would use a dll that has only methods, no properties. You first add a reference to the service, and then can use the methods in the service. The communication between both is automatically handled by the framework.

The hard part might be to configure the service so that it can receive calls. This sometimes works simply by adding the Service template, but some other times you have to foul around with some configuration options in order to make the thing works.
Murray BrownASP.net/VSTO Developer

Author

Commented:
Great answer. Thanks very much

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial