Hi
If in Azure I wanted to write an application that accepted an XML file via HTTP Post, should I use WCF or just create a asp.net (web role) to accept the input?
Thanks Steve
Hi
If in Azure I wanted to write an application that accepted an XML 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