I'm about to start Windows 10 Universal app development.
For my project I need to get data from a Microsoft SQL Server.
I know locally It is only possible to use SQLite but is there anyway I can interact with an SQL Server?
You can’t connect to a MS SQL Server directly from a Universal Windows App. As CodeCaster mentioned, the recommend way is creating a web service, and the app can retrieve the data through the web service.
For example:
App -> data service on IIS (e.g. OData service) -> database (MS SQL Server)
How to: Deploying OData Services using IIS & SQL Server
You use the HttpClient to retrieve the data from OData service.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With