How can i integrate Azure Mobile App win Azure API app

拥有回忆 提交于 2019-12-23 17:24:23

问题


We are building a mobile cross platform solution with Xamarin (Xamarin.Forms). We developed a backend API in Azure with Azure API Apps. Now we want to integrate and use Mobile Apps (Mobile Services) but using Azure API Apps we created previously. I see this BUILD presentation https://channel9.msdn.com/Events/Build/2014/3-623 and the idea i think is to use ApiController and call to Azure API Apps there.

Is this correct? Some sample? How can i do? I must have 2 projects API Apps + Mobile Apps? or I must integrate in one (only one API)?


回答1:


You could potentially have your mobile clients connect to your API app, but you'll have an easier time if you convert your API App to use the Mobile App backend packages. Another option is to have your Mobile App backend connect to the API app, but that's a lot of hops without much benefit.

For details on these packages, see How to work with the .NET backend server SDK for Azure Mobile Apps.

For a step-by-step tutorial, start with Create a Xamarin.Forms app on Azure Mobile Apps.



来源:https://stackoverflow.com/questions/32233762/how-can-i-integrate-azure-mobile-app-win-azure-api-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!