构建一个ASP.NET Web API,它将为Android应用程序和ASP.NET网站提供数据 [英] Build one ASP.NET web API which will serve the data for both android app and ASP.NET web site

查看:141
本文介绍了构建一个ASP.NET Web API,它将为Android应用程序和ASP.NET网站提供数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用一个可以服务移动应用程序以及asp.net网站的asp.net Web API。 ?

什么类型的api适用于此项目的身份验证等。



martin



我的尝试:



构建一个asp.net web API,它将为android app和asp.net网站提供数据。

Can i use one asp.net web API that can server mobile app as well as asp.net web site. ?
What type of api is suitable for this project in terms of authentication and etc .

martin

What I have tried:

Build one asp.net web API which will serve the data for both android app and asp.net web site.

推荐答案

请看我对这个问题的评论。

参见:

如何从Android调用ASP.Net Web API服务? &安培;#8211; HintDesk [ ^ ],

如何使用Android应用中的网络API [ ^ ]。



对于客户端部分,如何在Web服务或特定Web API上实现它并不重要服务器端。



-SA
Please see my comment to the question.
See also:
How to call ASP.Net Web API service from Android? – HintDesk[^],
How to use a web API from your Android app[^].

For a client part, it's not really important how a Web service or particular Web API is implemented on the server side.

—SA


这篇关于构建一个ASP.NET Web API,它将为Android应用程序和ASP.NET网站提供数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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