Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Compress Web service Data

$
0
0

Hi guys i am currently calling my WCF web service with the following and its working just fine

        string strAddress = App.EndPointAddress;
        BasicHttpBinding httpBinding = new BasicHttpBinding();

        EndpointAddress address = new EndpointAddress(strAddress);
        ChannelFactory<ITCService> channel = new ChannelFactory<ITCService>(httpBinding, address);

        var svc = channel.CreateChannel(address);

However my setup data is currently in excess of 50mb in size and i would really like to turn on gzip compression to speed things up a little.

What are my options to do so?

i would really like to keep the web service calls in my PCL project to avoid platform specific code

I am willing to make the service Restful if this has a clear path to compression.

Any help would be greatly appreciated


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>