iOS(Swift)项目需要读取Azure SQL数据库 [英] iOS (Swift) project needs to read an Azure SQL database

查看:40
本文介绍了iOS(Swift)项目需要读取Azure SQL数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个需要在Azure中读取SQL数据库的iOS项目.我有数据库服务器的位置,端口,用户名和密码.我不需要写入数据库,只需读取它即可.我对Firebase或Parse更为熟悉,并且从未使用过Azure.我什至该如何开始呢?我尝试了Azure为您创建的示例项目,但是我没有任何表格?我需要这个吗?任何帮助都将受到欢迎.

I am creating an iOS project that needs to read a SQL database in Azure. I have the database Server location, port, username, and password. I don't need to write to the database, just read it. I am more familiar with Firebase or Parse and have never used Azure. How do I even go about starting this? I tried the sample project that Azure makes for you but I don't have any tables? Do I need this? Any help would be welcome.

推荐答案

此线程说明了该过程您使用现有的SQL数据库.通过此选项,Azure可以为您管理大部分内部工作.

Azure Mobile App Service can connect with your existing SQL database this thread explains the process where you use the existing SQL database. With this option Azure manages most of the inner workings for you.

如果您想使用现有的SQL数据库从头开始构建Rest API,您还有更多选择: Azure API管理可让您安全且大规模地发布API,像本文中的示例一样,具有较少服务器功能的Azure函数

If you want to build the Rest API from "scratch" using your existing SQL database You have some more options: Azure API Management allows you to publish API's securely and at scale, A server less Azure Function like the example in this article Rest API with Azure Functions and Azure SQL Database or build a rest API using an Azure Logic App which doesn't require you to write code. You could also use Nodejs or many other tools you just need to evaluate what would work best for your use case.

这篇关于iOS(Swift)项目需要读取Azure SQL数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆