What is the best practice for compressing the communication of a WCF service having message security enabled, that is not hosted on IIS and uses HTTP as transfer protocol?
In my searching I found implementations made at channel level that apply compression after the message was secured (so the compression is suboptimal).
Can you point me in the right direction? Or even better: Do you know any WCF compression implementation (working with message security) that is applied before security protocol run?