How to connect to MSSQL server in UWP (.NET universal App)

I am unable to connect to my OData web service in my Universal Application, so I want to ask if any of you have found a way to connect to the MSSQL server? As I know it is now possible to connect to the MySQL server right now, but this is not an option for me.

+3


source to share


3 answers


I just created my own WCF web service to collect information from SQL Server into my UWP application.

This video helped me understand the basics of WCF.

And this to host it in IIS.



This sample Project is also very useful for replicating it to UWP (Universal Apps).

Hope this information can help someone here.

+1


source


you can check here



also you can check the video tutorial link

0


source


Use SQL Server Database in UWP App

As of 12/11/2017, you can work with SQL Server in the same way as with Win32 forms. You need to target the Fall Creators Update for Windows 10 and in the Capabilities tab, check the Enterprise Authentication box. Learn more on Windows Dev Center .

0


source







All Articles