问题描述
我必须将UWP应用与PHPmyAdmin Sql嵌入式服务器连接.
I have to connect a UWP app with a PHPmyAdmin Sql embedded server.
我对WCF知之甚少,我的问题是:
I have no or little knowlegde about WCF and my questione is:
是否可以以及如何通过WCF将应用程序与PHPmyAdmin Sql服务器连接?
It's possible and how to connect an app with PHPmyAdmin Sql server with WCF ?
Salvino Marras
Salvino Marras
推荐答案
似乎您已经建立了MySQL数据库.
Seems you already have your MySQL database built.
因此,要使UWP消耗MySQL数据库中的数据,您需要做的是构建一组API,这些API提供执行查询的操作.
So what you need to do to enable your UWP consume the data from your MySQL database is to build a set of APIs that provide the actions to perform the queries.
您可以使用.Net应用程序(WCF或ASP.Net WebAPI)中的MySQL数据提供程序链接到MySQL数据库,以提供UWP的API.
You could link to MySQL database with MySQL Data Provider in your .Net Application (WCF or ASP.Net WebAPI) to provide the APIs for your UWP.
此外,我认为有些链接可能对您有帮助:
这篇关于连接到PHPmyAdmin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!