I have a WCF-service which returns a string containing NewLines. The service is deployed to azure.
The returned string looks good if I use wsHttp-binding. The NewLine is correctly escaped as &#39;\r\n&#39; and displays with proper line breaks.
If I use the same service via webHttp-binding with WebRequest, the returned string contains double-escaped like &#39;\\r\\n&#39;.
I checked numerous variants of &lt;globalisation&gt; in &lt;system.web&gt; and also in the webHttp-behaviour and its defaultOutgoingResponseFormat.
The same scenario works fine when I deploy it to a onPrem VM.