Friday, July 11, 2014

Can I compress ASP.NET session-state data?

Yes, You can compress asp.net session-state data with compressionEnabled attribute. When the CompressionEnabled value is set to true, ASP.NET uses the GZipStream class to compress and expand session-state data. This attribute for the sessionState element can be mentioned in the web.config, like this:

<sessionState compressionEnabled="true">     
</sessionState>


No comments:

Post a Comment

React-select is very slow on larger list - Found solution - using react-window

 I had more than 4000 items in searchable dropdownlist. I have used react-select but it was very slow. finally I found complete solution to ...