How to connect to SQL server database from a Windows 10 UWP app

前端 未结 4 1449
闹比i
闹比i 2020-11-27 05:57

I\'m trying to connect to an on-prem MS SQL database from a universal windows app. I\'m making a LOB app using UWP, to support desktop, tablet and mobile use. When trying to

4条回答
  •  迷失自我
    2020-11-27 06:25

    Here is a simple sample and a video. Not sure if it's enough for you.

    Here is a difficult point is

    • how to consume, serialize and deserialize json data. As a .net developer, you can consider using the HttpClient to implement this. And here is another sample and video for your reference. There is another official sample shows how to use Windows.Data.Json namespace.

提交回复
热议问题