简体   繁体   English

如何将我的 flutter 应用程序连接到我的 azure 数据库?

[英]How can I connect my flutter app to my azure database?

I made a database in Azure and it is updated every day with more data.我在 Azure 中创建了一个数据库,并且每天都会更新更多数据。 But now I want to retrieve some data from the azure database to my flutter app.但现在我想从 azure 数据库中检索一些数据到我的 flutter 应用程序中。 But do not know how to make a connection between flutter and azure DB.但不知道如何在 flutter 和 azure DB 之间建立连接。

Thank you!谢谢!

Your flutter app cannot connect to the Azure SQL database.您的 flutter 应用程序无法连接到 Azure SQL 数据库。 You need to create a REST API, which will expose data from your database to your mobile app.您需要创建一个 REST API,它将数据库中的数据暴露给您的移动应用程序。

You can create an API with ASP.NET CORE, Node.JS, Python, etc.您可以使用 ASP.NET CORE、Node.JS、Python 等创建 API。

Here are some resources that can help you:以下是一些可以帮助您的资源:

https://www.tutorialspoint.com/flutter/flutter_accessing_rest_api.htm https://www.tutorialspoint.com/flutter/flutter_accessing_rest_api.htm

https://flutter.dev/docs/cookbook/networking/fetch-data https://flutter.dev/docs/cookbook/networking/fetch-data

https://docs.microsoft.com/en-us/azure/azure-sql/database/connect-query-nodejs https://docs.microsoft.com/en-us/azure/azure-sql/database/connect-query-nodejs

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

相关问题 如何将节点应用程序连接到Azure SQL数据库? - How can I connect my node app to my azure sql database? 如何将我的 azure 函数与我的 azure sql 连接 - How can I connect my azure function with my azure sql 为什么我的 Azure 应用服务备份无法连接到我的 Azure SQL 数据库? - Why can't my Azure app service backup connect to my Azure SQL database? 如何将 Azure MySQL 数据库连接到我的 iOS 和 ZE84E30B9390CDB646DB6DB2C9AB878 应用程序 - How do I connect an Azure MySQL Database to my iOS and Android App 我无法从我的网站连接到我的 Azure SQL 数据库,但我可以使用 SSMS 连接到它 - I am unable to connect to my Azure SQL Database from my website however I can connect to it with SSMS 如何从我的Android应用程序对Microsoft Azure数据库执行请求 - How can I execute requests on my Microsoft Azure Database from my Android app 我似乎无法从我的 Azure ZEDC9F0A5A5A5D5774387BF61 - I can't seem to connect to my Azure Database for MySQL server from my Azure Linux VM 如何使用Microsoft Silverlight连接到我的SQL Azure数据库? - How can I connect to my SQL Azure-database using Microsoft Silverlight? 无法连接到我的Azure应用并对其进行调试 - Can't connect to and debug my azure app 我如何将 azure MySQL 服务器与我的 Xamarin 表单应用程序连接? - How i can connect azure MySQL server with my Xamarin forms app?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM