🍉 Meet Flexmonster Pivot Table & Charts 2.9.Check out all hot features!
Get Free Trial

Compressor for .net CSV memory stream

krishna prasad asked on December 5, 2019

We are using ASP.NET web api in which we would like to add Compressor dll for CSV
1) As we cannot add physical dll reference in to project,please share the steps to download from nuget.
2) Also, could you share the sample code to use the compressor.
3)  We do the following steps:
get the byte[] from server then stream = new MemoryStream(byte[]).
we would like to compress this stream.
Krishna Prasad

3 answers

Vera Didenko Vera Didenko Flexmonster December 6, 2019

Hello, Krishna, 
Thank you for reaching out to us.
We would like to explain that due to recent changes in the Compressor’s logic, the Compressor is no longer used for CSV files.  
Now the Compressor’s purpose is to assist in preparing the data that is fetched from the database to be passed to Flexmonster in CSV format. 
Therefore, if we understand correctly and you would like to pass CSV data to Flexmonster, it can be passed without the need for the Compressor. 
Please feel free to write to us in case further questions arise. 
Best Regards, 

Faizan Hamz October 16, 2020

Then what you used for Compressor
Please answer me quickly 

Illia Yatsyshyn Illia Yatsyshyn Flexmonster October 19, 2020

Hello, Faizan,
Thank you for your question.
We want to explain that the Data Compressor is considered deprecated. Our team does not recommend using it to establish a connection between Flexmonster and your data source.
Instead, we suggest checking out the Data Server, which serves to establish a connection with CSV/JSON files and databases.
To learn more about Flexmonster Data Server, please refer to our documentation. You will also find the step by step guide on installing and configuring the Data Server.
We hope it helps.
Please contact us if any further questions arise.
Kind regards,

Please login or Register to Submit Answer