Xamarin Android 和 Azure SQL [英] Xamarin Android and Azure SQL

查看:23
本文介绍了Xamarin Android 和 Azure SQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一名二年级学生,我有一个 Azure SQL 数据库,由我使用 SSMS 维护.我使用此数据库与我的 ASP.NET CRUD 操作应用程序进行交互,并托管在 Azure 云中.我制作了一个与 ASP.NET 应用程序相同的 Xamarin Android 应用程序,现在我想使用该应用程序并从 Azure 中插入、更新、选择和删除数据SQL 数据库.

I'm a second-year student and, I have an Azure SQL Database which is maintained by me using the SSMS. I use this database to interact with my ASP.NET Application for CRUD Operations and is hosted in Azure Cloud. I made a Xamarin Android Application same as the ASP.NET Application and now I want to use that Application and Insert, Update, Select and Delete data from the Azure SQL database.

如果有人可以,那就太好了

It would be so nice of you if someone can

1) 带我了解完成上述任务的最佳行业标准
2) 解释 Azure SQL 和 Easy Tables 的区别

1) Walk me through the best industrial standard of doing above task
2) Explain the difference between Azure SQL and Easy Tables

谢谢:)

推荐答案

无法直接从 sql server 连接 Xamarin android 应用程序.为此,您必须通过 webapi/web 服务进行连接.首先使用 sql db 操作开发 webapi 并从您的 Xamarin 应用程序调用 web api.

its not possible to connect Xamarin android application from sql server directly. for this you have to connect through webapi /web services. first develop webapi with sql db operations and call web api from your Xamarin application.

xamrin 应用程序 --> web api --> sql server.

xamrin application --> web api --> sql server.

这篇关于Xamarin Android 和 Azure SQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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