Last post Jun 28, 2017 06:25 PM by PatriceSc
Jun 28, 2017 05:26 PM|Aravinda Reddy.s|LINK
How to Zgip dictionary object in c# and return dictionary object too.
Jun 28, 2017 05:50 PM|PatriceSc|LINK
Some context could help. Do you mean using
What are you trying to compress ? You are really trying to serialize and compress and deserialize/uncompress objects on the fly to try to save memory ???
Edit: if confirmed try perhaps
Jun 28, 2017 05:51 PM|Aravinda Reddy.s|LINK
I want to GZIP the payload before generating the JWT Token.
Jun 28, 2017 06:25 PM|PatriceSc|LINK
I would expect something like :
- serializing the dictionary to a json string using possibly Json.NET (is this what you are using ?)
- then compress this using the earlier compression namespace
You likely have then to add some header information to tell the payload was compressed. If you are using some JWT Library it might be also perhaps handled for you? Another option might a web server level compression for the full http request ?