Xceed .NET Libraries Documentation
DeflateHTTPModule Sample Application
Welcome to Xceed .NET, .NET Standard and Xamarin Libraries! > Sample Applications > Streaming capabilities > DeflateHTTPModule Sample Application

Programming languages

C# and Visual Basic.NET

Overview

This sample demonstrates how to compress any web application's response using the CompressedStream class and the Deflate compression method.

How to use

This HTTP module can be used to compress any web application's response.   All you need to do is add this Class Library to your ASP.NET web application's references and check the web.config file of this project for stuff to add to your ASP.NET web application's web.config file.

Project location & filename

Master directory

<SamplesInstallDir>Xceed Zip for .NET [version]\

Where <SamplesInstallDir> by default is <SystemVolume>Xceed Samples under Windows Vista/7, and <ProgramFiles>Xceed Samples under Windows XP. NOTE: The sample applications for Xceed's FileSystem based products are all contained in the "Xceed Zip for .NET" folder.

C#: \CSharp\DeflateHTTPModule\DeflateHttpModule.csproj

VB.NET: \Visual Basic .NET\DeflateHTTPModule\DeflateHttpModule.vbproj