开发者

Accepting a HTTP Post request in Azure

If in Azure I wanted to write an application that accepted an XML 开发者_JS百科file via HTTP Post, should I use WCF or just create a asp.net (web role) to accept the input?

Thanks Steve


Purely a matter of opinion, but if receiving a file is the primary purpose, then this is more of a web service, and I would lean towards a service-oriented approach such as that offered by WCF.

A WCF REST service would probably be your best best, especially if you can use .NET 4.

EDIT (adding link): Take a look at this tutorial series that covers some of the HTTP Services enhancements .NET 4 brings to WCF

http://blogs.msdn.com/b/endpoint/archive/2010/01/06/introducing-wcf-webhttp-services-in-net-4.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜