﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-江大鱼的BLOG-随笔分类-.Net Framework</title><link>http://www.cnblogs.com/jzywh/category/147122.html</link><description>不求大作,只为记录点点滴滴(转载本人原创文章转载请注明出处)</description><language>zh-cn</language><lastBuildDate>Fri, 25 Jul 2008 15:46:42 GMT</lastBuildDate><pubDate>Fri, 25 Jul 2008 15:46:42 GMT</pubDate><ttl>60</ttl><item><title>解决FileSystemWatcher事件多次触发的方法</title><link>http://www.cnblogs.com/jzywh/archive/2008/07/23/filesystemwatcher.html</link><dc:creator>江大鱼</dc:creator><author>江大鱼</author><pubDate>Wed, 23 Jul 2008 13:55:00 GMT</pubDate><guid>http://www.cnblogs.com/jzywh/archive/2008/07/23/filesystemwatcher.html</guid><wfw:comment>http://www.cnblogs.com/jzywh/comments/1249995.html</wfw:comment><comments>http://www.cnblogs.com/jzywh/archive/2008/07/23/filesystemwatcher.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/jzywh/comments/commentRss/1249995.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/jzywh/services/trackbacks/1249995.html</trackback:ping><description><![CDATA[摘要: 博客园已有几位同学发表了关于FileSystemWatcher事件多次触发的解决方法的文章，很好地解决了事件多次激发的问题。

主要方法有：

1.延迟激发法。

http://www.cnblogs.com/dragon/archive/2008/07/04/filesystemwatcher.html

原理是延迟调用事件的代理，将多次事件合并为一次,从而很好的解决了此问题，唯一的缺憾是时间激发不及时，不适用于实时性较高的系统。

2.临时禁用法.

3.检查最后更新时间法.&nbsp;&nbsp;<a href='http://www.cnblogs.com/jzywh/archive/2008/07/23/filesystemwatcher.html'>阅读全文</a><img src ="http://www.cnblogs.com/jzywh/aggbug/1249995.html?type=1" width = "1" height = "1" />]]></description></item><item><title>Base64 encode/decode large file</title><link>http://www.cnblogs.com/jzywh/archive/2008/04/20/base64_encode_large_file.html</link><dc:creator>江大鱼</dc:creator><author>江大鱼</author><pubDate>Sun, 20 Apr 2008 13:48:00 GMT</pubDate><guid>http://www.cnblogs.com/jzywh/archive/2008/04/20/base64_encode_large_file.html</guid><wfw:comment>http://www.cnblogs.com/jzywh/comments/1162925.html</wfw:comment><comments>http://www.cnblogs.com/jzywh/archive/2008/04/20/base64_encode_large_file.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/jzywh/comments/commentRss/1162925.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/jzywh/services/trackbacks/1162925.html</trackback:ping><description><![CDATA[摘要: The class System.Convert provide two basic methods "ToBase64String()" and "Convert.FromBase64String()" to encode a byte array to a base64 string and decode a base64 string to a byte array.

It is very good to use them to encode and decode base64. But in some case, it is a disaster.

For example, if you want to encode a 4 gb file to base64, the code above must throw an OutOfMemory exception., because you must read the file into a byte array. So we need to look for another way to e&nbsp;&nbsp;<a href='http://www.cnblogs.com/jzywh/archive/2008/04/20/base64_encode_large_file.html'>阅读全文</a><img src ="http://www.cnblogs.com/jzywh/aggbug/1162925.html?type=1" width = "1" height = "1" />]]></description></item><item><title>.NET 2.0 的压缩功能</title><link>http://www.cnblogs.com/jzywh/archive/2006/05/23/dotnet2compression.html</link><dc:creator>江大鱼</dc:creator><author>江大鱼</author><pubDate>Tue, 23 May 2006 08:23:00 GMT</pubDate><guid>http://www.cnblogs.com/jzywh/archive/2006/05/23/dotnet2compression.html</guid><wfw:comment>http://www.cnblogs.com/jzywh/comments/407244.html</wfw:comment><comments>http://www.cnblogs.com/jzywh/archive/2006/05/23/dotnet2compression.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/jzywh/comments/commentRss/407244.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/jzywh/services/trackbacks/407244.html</trackback:ping><description><![CDATA[摘要: 在.net1.1中我们要实现压缩这一功能，一般都是用opensource的SharpZipLib或者调用J#类库。现在在.net2.0中增加了压缩功能，名字空间为usingSystem.I...&nbsp;&nbsp;<a href='http://www.cnblogs.com/jzywh/archive/2006/05/23/dotnet2compression.html'>阅读全文</a><img src ="http://www.cnblogs.com/jzywh/aggbug/407244.html?type=1" width = "1" height = "1" />]]></description></item></channel></rss>