Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between BasicHttpBinding and NetHttpBinding in WCF

What are the differences between using BasicHttpBinding and NetHttpBinding in WCF? I can't seem to find any references..

like image 954
MJ33 Avatar asked Jul 10 '14 07:07

MJ33


1 Answers

Check out this comparison chart showing the difference between all the various binding options. I think you'll find your answer in there.

http://msdn.microsoft.com/en-us/library/ms730879.aspx

In a nutshell, though, BasicHttpBinding is platform agnostic while NetHttpBinding is .NET only, from what I've read. So if there's a potential to roll out your web service for Android or iOS devices, I'd stick with BasicHttpBinding.

like image 74
Brian Avatar answered Sep 21 '22 22:09

Brian