Azure Mobile Services or ASP.NET MVC 4 Web API

纵然是瞬间 提交于 2019-12-13 06:19:58

问题


I've built an ASP.NET MVC 4 app with standard database query tasks and user authentication. Now I want to upload it to Windows Azure and build Windows 8 and Windows Phone client applications. Is it better to use Azure Mobile Services or ASP.NET MVC Web API for these tasks? I have used the Simple Membership Provider for user security, so I'm not sure how can I use it with Mobile Services. Any advices?


回答1:


I don't think you can use anything aside from Live Connect/FB/Google/etc when dealing with ZUMO directly.

I suppose you could create your own web api or other web-based login that uses simple membership to validate user credentials. The server would subsequently make a login request to the live connect service (for any validated user) and return the authenticationToken along with the user object back to your app.



来源:https://stackoverflow.com/questions/15497946/azure-mobile-services-or-asp-net-mvc-4-web-api

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