如何将.net应用程序数据库与Android App集成? [英] How do I Integrate .net Application database with Android App?

查看:63
本文介绍了如何将.net应用程序数据库与Android App集成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为选举开发一个Android应用程序,我必须在.Net中开发一个基于Web的应用程序,供候选人上传最新的用户通知。另一方面,用户将使用Android App看到此通知。我需要知道我应该使用什么数据库,基于web的应用程序,android可以轻松使用和获取或集成Android应用程序与.net数据库。



我发现SQL Lite是其中一个选项,但我想知道其他选项。

I am developing an android application for a elections, in which i have to developed a web based application in .Net for candidates to upload their latest notification for users. On the other hand User will see this notification using Android App. I need to know that what database i should use for web based application that android can easily use and fetched or integrate android app with .net database.

I found that SQL Lite is one of the option, but i am wondering about other options.

推荐答案

你真的无法连接到数据库,你不想让设备做无论如何。



我再次建议您使用WCF REST服务



这里是一步一步指南:< a href =http://www.codeproject.com/Articles/105273/Create-RESTful-WCF-Service-API-Step-By-Step-Guide?q=.net+wcf+rest+service>创建RESTful WCF服务API:循序渐进指南 [ ^ ]



Android可以轻松与这个。
Well you cannot really connect to the database and you don't want a device to do that anyway.

I reocmmend you use WCF REST service

here's a step by step guide: Create RESTful WCF Service API: Step By Step Guide[^]

Android can easily interact with this.


创建 REST 服务。



看到这些教程,

WCF和Android第一部分 [ ^ ]

WCF和Android:第二部分 [ ^ ]



-KR
Create REST Service.

And see these tutorials,
WCF and Android Part I[^]
WCF and Android: Part II[^]

-KR


这篇关于如何将.net应用程序数据库与Android App集成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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