There is a new requirement where I need to Compress the WCF service response in GZIP format and send it to partner systems in C#. How can I achieve this ?
I have tried adding the configurations in web.config file. But it didnt work.
There is a new requirement where I need to Compress the WCF service response in GZIP format and send it to partner systems in C#. How can I achieve this ?
I have tried adding the configurations in web.config file. But it didnt work.
Copyright © 2021 Jogjafile Inc.
I offer you two options:
1.You can use custom bindings to achieve this
2.Using GZip Encoder, here are the relevant demo documents and examples
GZip Encoder Sample