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 (eg 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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.