When developing .NET 4.5 desktop apps for Windows I have been used to use System.Net.Http.HttpClient
for all communication with a backend Web API. I am now deve
Windows.Web.Http is a WinRT API available in all the WinRT programming languages supported: C#, VB, C++/CX and JavaScript. This enables the option to write the same code in the language of your choice.
System.Net.Http is a .NET API, and it is only available for C# and VB developers.
IInputStream
, IOutputStream
and IBuffer
. Avoiding the .NET extensions that convert System.IO.Stream
into IInputStream
or IOutputStream
and System.Array
into Windows.Storage.Streams.IBuffer
can improve performance and save resources in some cases.HttpClient
(example)HttpClient
Cache-Control
header (example)System.Net.NetworkCredential
† For Windows Universal Projects (UWP), System.Net.Http is a wrapper on top of Windows.Web.Http, as described here.
Further reading: Demystifying HttpClient APIs in the Universal Windows Platform
There is not much to find about it. Some things that come in my mind:
Some useful information can be found in this blog post which also referenced this Build video. They speak about better cache control, and a way to add filters for authentication, easy access to cookies, reconnecting, etc.