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

Programming languages

C# and VB.NET

Overview

This sample demonstrates how to compress any web application's response using the GZipCompressedStream class.

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\GZipHttpModule\GZipHttpModule.csproj

VB.NET: \Visual Basic .NET\GZipHttpModule\GZipHttpModule.vbproj