简体   繁体   English

如何将 Azure MySQL 数据库连接到我的 iOS 和 ZE84E30B9390CDB646DB6DB2C9AB878 应用程序

[英]How do I connect an Azure MySQL Database to my iOS and Android App

Entirely new to this and was hoping to find some reasonably straightforward API's or documentation to connect the MySQL database I have on Azure to the iOS and Android apps I have in development. Entirely new to this and was hoping to find some reasonably straightforward API's or documentation to connect the MySQL database I have on Azure to the iOS and Android apps I have in development.

What is needed to make this happen?需要什么来实现这一点?

The database and structure are created - what does it take to accomplish something like this:创建了数据库和结构 - 完成这样的事情需要什么:

  1. iOS / Android app connect to the DB in Azure iOS / Android 应用程序连接到 Azure 中的数据库
  2. to file a report which will push 2 - 3 values to the server: x, y, z提交一份报告,将 2 - 3 个值推送到服务器:x、y、z
  3. update/increment the db with these values使用这些值更新/增加数据库
  4. allow for the DB to perform a push/pull of aggregated reports BACK to the iOS / Android apps允许数据库执行汇总报告的推/拉返回到 iOS / Android 应用程序

If all goes well - return to point 1.如果一切顺利 - 返回第 1 点。

I'm hoping there is a reasonably well-written document that will explain this step-by-step and I can work on this a little more this week.我希望有一个写得相当好的文档来逐步解释这一点,我本周可以在这方面做更多的工作。

Thanks all!谢谢大家!

It sounds like you need a mobile backend for your apps to communicate with.听起来您需要一个移动后端来与您的应用程序进行通信。 This can be written in most languages but I'm from a.Net/c# background so all of mine have been in dotnet core.这可以用大多数语言编写,但我来自 a.Net/c# 背景,所以我的所有内容都在 dotnet core 中。 The API is what communicates with the database and in turn the API should be protected by an Identity Provider such as Azure Active Directory (or implement your own/use Google/Facebook etc). API 是与数据库通信的,反过来 API 应该受到身份提供者的保护,例如 Azure Active Directory 等(或实现您自己的/使用 Google/Facebook 等)。

This article is slightly outdated, but the concept remains the same... https://docs.microsoft.com/en-us/aspnet/core/mobile/native-mobile-backend?view=aspnetcore-3.0这篇文章有点过时了,但是概念还是一样的... https://docs.microsoft.com/en-us/aspnet/core/mobile/native-mobile-backend?view=aspnetcore-3.0

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将我的Android应用程序连接到远程MySQL数据库? - How do I connect my Android app to a remote MySQL database? 如何使用Android应用程序连接到MySQL数据库? - How can i connect to my MySQL database with an android app? 如何将我的 Android 应用程序与在线 mysql 数据库连接? - How can i connect my Android app with the online mysql database? 如何将Android应用程序连接到笔记本电脑,PC或服务器上的MySQL数据库? - How do I connect my Android app to a MySQL database on a laptop, PC, or server? 如何将Android应用程序连接到非本地的mysql数据库? - How do I connect a android app to a mysql database that is not local? 如何将数据库连接到 Android 应用程序? - How do I connect a database to an Android app? 如何使用Php将我的Android应用程序连接到Amazon RDS MySQL数据库? - How can I connect my Android app to Amazon RDS MySQL Database using Php? 如何将我的数据库连接到我的 android 应用程序 - How can i connect my database to my android app 如何从 Android 应用程序连接 MySQL 数据库? - How do I connect with MySQL database from Android application? 如何通过Android设备连接到远程MySQL数据库? - How do I connect to a remote MySQL database through an android device?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM