Windows Phone 7应用程序的Web服务 [英] Web services for a Windows Phone 7 App

查看:89
本文介绍了Windows Phone 7应用程序的Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我的任务是为Windows Phone 7应用创建一些Web服务.以下是这些服务的说明.

-AuthenticateUser-用户名和密码将被发送(加密),并返回有效/无效的响应.
-RetrieveJobs-用户名和密码将再次提供,并且一旦通过验证,将返回作业的XML列表.这将包含为用户准备的工作,以及用于正确填写时间表的选项.
-UploadTimesheet-包含用户时间表条目的用户名,密码和XML结构.

目前,我正在建立一个(asp.net)网站,该网站允许用户(通过Active Directory进行身份验证)查看作业并输入作业时间.现在需要这些功能才能在电话应用程序上发生.电话应用程序是由第三方创建的.我的任务是创建上述服务,以在两者之间传递信息.

问题是我不知道从哪里开始.我只使用ASP.NET和VB开发了简单的网站.因此,我们将不胜感激.

我在这里阅读了一些有关Web服务或WCF的文章和问题,人们似乎更喜欢WCF.

那么,有没有人有任何可行的解决方案示例或任何指针?

如果有人需要更多信息,请询问.

谢谢

Hi all,

I have been tasked with creating a few web services for a Windows phone 7 app. Below is a description of those services.

- AuthenticateUser - the username and password would be sent (encrypted) and a valid / invalid response returned.
- RetrieveJobs - the username and password would be supplied again, and once validated, an XML list of jobs would be returned. This would contain upcoming jobs for the user, and also the options used to fill in the timesheets correctly.
- UploadTimesheet - username, password and XML structure containing timesheet entries for the user.

Currently I am making a (asp.net) website which allows users (authenticated via Active Directory) to view jobs and enter the times for jobs. These functions are now needed to be able to happen on a phone app. The phone app is being created by a third party. I am tasked with creating the above services that communicate the information between the two.

The problem is I don''t know where to start. I have only developed simple websites using ASP.NET and VB. So any help would be appreciated.

I have read a few articles and questions on here about web services or WCF and people seem to favor WCF.

So does anyone have any examples of a working solution or any pointers?

If anyone needs more information just ask.

Thanks

推荐答案

我已经为移动应用编写了一项服务,因此我可以分享我的经验
I have written one service for Mobile app purpose, so i can share my experience if you need it


这篇关于Windows Phone 7应用程序的Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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