Universal store app getting data from server

喜你入骨 提交于 2019-12-06 15:41:23
Jeffrey Chen

You can’t connect to a MS SQL Server directly from the Windows App. The common way is host a data service and the app query the data through the REST API.

App -> data service (e.g. OData service) -> database (e.g. MS SQL Server)

In this case, you can deploy the SQL Server Data Service on IIS.

How to: Deploying OData Services using IIS & SQL Server

Then you use the HttpClient to retrieve the data from service.

Similar Question: Windows phone 8.1 app connect with a database

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!