Agreed, may not save much on simple commands. But sending binary gets expensive with XML Schema type base64binary if you need to use it. I have used it with Soap web services, works but you take a hit in bandwidth. To be honest I am just getting deeper into
web programming so I don’t know all the pluses and minus. I would rather program WPF or Win form GUI’s any day over HTML, just my opinion.
From what I have read base64binary is popular with many mobile portal operators sending pages with images even with the up to 33% more bandwidth hit since they can render everything on one server hit. Supposedly Google's iPhone homepage does this for speed.
Seems like pure binary would be even faster, but apparently you can’t do it in HTML without base64 or going back for multiple server hits.
Good discussion! I like these deep discussions, it’s not Butler’s first clambake, he has pretty much been there done that. Glad to see Microsoft brings this talent into the company, this stuff can’t be learned quickly in a classroom, it needs years of practical
I do tend to agree with Erik about the layers on top of tcp/ip. Tcp/ip is a good reliable architecture, similar to putting stuff in a truck. The driver will get to the location required, doesn’t care or know what the cargo is but it will get to the destination.
If you look at what sets on top of tcp/ip it is mostly ascii human readable text. Seems to be a waste of bandwidth, why not send binary. I have done some .net socket programming with network streams, at least to me seems more efficient.
More of these interviews would be appreciated, too much knowledge not to be available.