On start, my application makes a simple GET web-request to a webserver. Depending on the response from the server, the application may need to send another request to the same web server, which response has to contain a block of html code. The question is: How do I compress / minify the response (some html code) to reduce the bandwidth, without needing any 3-rd party libraries for my C# App to decompress the recieved data. I have tought only about base64 encoding (which is not compressing the data), are there any more productive ways?
On start, my application makes a simple GET web-request to a webserver. Depending on
Share
Well, natively you have GZip compression in .NET. Besides that, you can use other libraries to do the compression. Then, there’s always making up your own compression scheme.