Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 ALL


  HTTP is not a transport protocol, HTTP is not RPC

Recently there was a question on the forums asking why we encourage usage of HttpRequestMessage<T> / HttpResponseMessage<T> in the signature of a web api implementation. The point made in the post is that if you have an ICalculator contract which your API implements, then it’s violating SOC / inappropriate to have those messages as params and in the contract. The argument is valid when looking at HTTP from the standpoint of an RPC mechanism, which is actually a quite common view.Not of the HTTP authors though. If you read Roy Fielding’s dissertation you will see very ...

2,657 0       HTTP TRANSPORT PROTOCOL RPC