I would like to know how to access and receive data from a server from Windows Phone. Simply put: I have a PC and I want to access a document directly from my smartphone.
I would like to know how to access and receive data from a server from Windows Phone. Simply put: I have a PC and I want to access a document directly from my smartphone.
Windows Phone was not specifically designed to connect to an instance of SQL Server because Microsoft does not allow it. The correct thing would be to connect to a website that has a Web API implemented in it.
In any case, you have a version of Google Drive for Windows Phone for document access:
If the requirement is to connect to SQL Server without anything else, you can always create a SOAP endpoint .
In this case, the Windows Phone application can make an HTTP call to a Web API. On the server, you can do a Web API
project. Microsoft has many features about Web API, how it works, and how to make one. An excellent source is their own website, link
An observation regarding the other comments:
Windows Phone does not allow connection to a remote database!
However, it is perfectly possible to connect to a local database (eg SQLite). In fact, this is the predominant method in both Windows Phone and other mobile platforms (Android, iOS, WinRT).
How to use SQLite in Windows Phone: link