Azure的移动服务或ASP.NET MVC 4的Web API [英] Azure Mobile Services or ASP.NET MVC 4 Web API
问题描述
我已经建立了一个ASP.NET MVC应用程序4标准数据库查询任务和用户身份验证。现在,我希望把它上传到Windows Azure和构建Windows 8和Windows Phone客户端应用程序。它是更好地使用的Azure移动服务或ASP.NET MVC的Web API为这些任务?我已经使用用户安全简单成员资格提供程序,所以我不知道我怎么可以用它与移动服务。有何意见?
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?
推荐答案
我不认为你可以一边使用任何实时连接/ FB /谷歌/带谟打交道时等直接。
I don't think you can use anything aside from Live Connect/FB/Google/etc when dealing with ZUMO directly.
我想你可以创建一个使用简单的会员来验证用户凭据自己的Web API或其他基于网络的登录。服务器随后将进行的登录请求实时连接服务(任何合法用户),并与用户对象一起返回authenticationToken回您的应用程序。
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.
这篇关于Azure的移动服务或ASP.NET MVC 4的Web API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!