I’m working on a VB6 app that will do some very simple communication with a web server (passing value and getting back an anwer. Low bandwith and infrequent use).
Someone suggested using WCF or Web Services. I’m wondering what the advantages are vs. just posting to an ASPX page like:
Myserver.com/Functions.ASP?FunctionName=GetValue?UserName=BubbGump
and returning some simple, easy to parse text, like one value per line.
Introduction to WCF in ASP.NET and VB.NET has this tidbit about it:
Introduction to Windows Communication Foundation from ASP Alliance notes the following:
Lastly, if you do use URLs, then
should be
as the ? is notes the end of the URL while the & is the delimiter on the querystring key/value pairs. Another point is that WCF doesn’t require requests to go through IIS which may be of interest in some ways as there can be issues there. Classic ASP can have numerous problems especially if there are those “On Error Resume Next” lines that make the requests go into a zombie mode of just running until the machine crashes completely.