== Version History ==
1.1 ---------
MAJOR CHANGES THAT WILL AFFECT YOU
- the assembly is now named HttpCompressionModule.dll
- the config section handler is now HttpCompressionModuleSectionHandler
- YOU WILL NEED TO UPDATE YOUR CONFIG FILES
FOR THIS VERSION TO WORK (see samples for direction)
Other stuff
- moved to SharpZipLib (formerly NZipLib) 0.31 which
contains a bunch of bug fixes. This means I just
inherited a bunch of bug fixes. yay!
- updated the code to use the new ICSharpCode namespace
- reworked the way the configuration works
- no more generic http modules. i'm only writing this
one, so this made the code simpler
- removed the Unspecified flag on the Enums. Not needed.
now, it defaults to Deflate + Normal
- decided to not support config parenting, as it doesn't
really make sense for this
- pulled out some trace stuff from the DEBUG version that
didn't need to be there
- actually shipping compiled versions, both DEBUG and RELEASE
- added examples.
1.0 ---------
- initial introduction
=== Introduction ==
Hey there,
Thanks for downloading my compressing filter for ASP.NET! As
you can see, the full source is provided so you can
understand how it works and modify it if you want.
If you don't have visual studio, no fear. The whole project
lives in one directory, so csc *.cs should work, you just need
to add a reference to the supplied SharpZipLib.dll.
To get you going, read the docs on msdn regarding HttpModules.
That's how this thing works, as an HttpModule. An HttpModule
is a little chunk of code that gets slipped into the HttpRuntime
via the web.config file. It hooks an event in the HttpApplication
object and responds to it. In this case, I'm hooking BeginRequest
and setting a new Stream on the HttpResponse.Filter to compress
the output.
For instructions on how to slip the HttpCompressionModule in,
see the provided web.config file. It shows what entries have
to be added to the web.config to set things up.
So, to get things going, here's what you have to do:
1) compile the project into a library (or just use the
version in /lib)
2) move the .dll that comes from compilation to the /bin directory of
your asp.net web app
3) add the entries to the web.config of your asp.net app
That's it. That should get you going.
--b
没有合适的资源?快使用搜索试试~ 我知道了~
C#压缩解压ZIP格式文件
共257个文件
cs:96个
sln:21个
txt:18个
1星 需积分: 0 174 下载量 117 浏览量
2008-07-22
09:58:05
上传
评论
收藏 652KB ZIP 举报
温馨提示
C#压缩解压ZIP格式文件源码
资源详情
资源评论
资源推荐
收起资源包目录
C#压缩解压ZIP格式文件 (257个子文件)
Global.asax 85B
Image.ashx 1KB
ExistingImage.ashx 455B
Service1.asmx 99B
Default.aspx 336B
mkDistribution.bat 1KB
installGAC.bat 158B
build.bat 110B
mkhelp.bat 106B
uninstallGAC.bat 36B
SharpZlib.build 10KB
samples.build 7KB
samples.build 3KB
tests.build 2KB
FastZip.cmbx 827B
SharpZipLibTests.cmbx 618B
CreateZipFile.cmbx 600B
CreateZipFile.cmbx 600B
viewzipfile.cmbx 588B
zipfiletest.cmbx 588B
zipfiletest.cmbx 588B
viewzipfile.cmbx 588B
unzipfile.cmbx 578B
minibzip2.cmbx 576B
minibzip2.cmbx 576B
minigzip.cmbx 570B
tar.cmbx 540B
sz.cmbx 534B
zf.cmbx 534B
ICSharpCode.SharpZLib.cmbx 359B
Web.config 3KB
web.config 1KB
ZipFile.cs 115KB
ZipTests.cs 101KB
BZip2OutputStream.cs 44KB
sz.cs 40KB
zf.cs 36KB
ZipEntry.cs 34KB
TarHeader.cs 33KB
ZipExtraData.cs 28KB
DeflaterHuffman.cs 25KB
BZip2InputStream.cs 25KB
TarArchive.cs 25KB
Inflater.cs 24KB
ZipOutputStream.cs 24KB
DeflaterEngine.cs 24KB
FastZip.cs 21KB
Main.cs 21KB
InflaterInputStream.cs 21KB
TarInputStream.cs 20KB
ZipInputStream.cs 19KB
ZipConstants.cs 19KB
Deflater.cs 18KB
ZipHelperStream.cs 18KB
TarBuffer.cs 17KB
DeflaterOutputStream.cs 16KB
TarTests.cs 16KB
TarEntry.cs 15KB
TarOutputStream.cs 15KB
FileSystemScanner.cs 15KB
PkzipClassic.cs 14KB
RingBuffer.cs 14KB
ZipEntryFactory.cs 12KB
GzipInputStream.cs 11KB
Main.cs 11KB
PathFilter.cs 9KB
StreamManipulator.cs 9KB
CRC32.cs 9KB
InflaterDeflaterTests.cs 9KB
ZipNameTransform.cs 8KB
PendingBuffer.cs 8KB
BZip2Constants.cs 8KB
NameFilter.cs 8KB
Adler32.cs 8KB
StrangeCRC.cs 7KB
OutputWindow.cs 7KB
StreamUtils.cs 7KB
GzipOutputStream.cs 7KB
GZipTests.cs 7KB
InflaterHuffmanTree.cs 7KB
InflaterDynHeader.cs 6KB
DeflaterConstants.cs 6KB
Streams.cs 5KB
AssemblyInfo.cs 5KB
HttpCompressionModule.cs 5KB
Main.cs 5KB
BZip2.cs 5KB
Main.cs 4KB
AssemblyInfo.cs 4KB
Main.cs 4KB
InvalidHeaderException.cs 4KB
IEntryFactory.cs 4KB
HttpOutputFilter.cs 4KB
Main.cs 4KB
SharpZipBaseException.cs 4KB
HttpCompressionModuleSettings.cs 4KB
IChecksum.cs 3KB
ZipException.cs 3KB
GZipException.cs 3KB
BZip2Exception.cs 3KB
共 257 条
- 1
- 2
- 3
wxfsnow
- 粉丝: 5
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 功率拓扑快速参考指南-ti,TI官方出品
- 开关电源拓朴图表,各种电路拓扑表格
- 登录和注册 前端:vue3+iview plus +axios 后台:spring boot +mybatis
- 软件测试入门简介:从基础到实践的全面介绍
- 2024CDA Level Ⅰ 认证考试大纲
- YOLO 数据集:淋巴病灶检测(1类别,包含训练集、验证集)
- 基于AT91RM9200处理器+XC3S250E(FPGA)+AD5322采集板Cadence ORCAD(硬件原理图+PCB)
- java+vue2实现zebra打印机,js实现
- J-link烧录软件,用于hex文件烧录
- VB打开时间同步页面/Internet时间设置.vbs
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1