<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_LanceZhang's Tech Blog_分类_05. Daily Work</title><id>http://feed.cnblogs.com/blog/u/28707/category/103175/rss</id><updated>2012-05-29T21:28:14Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/category/103175.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/28707/category/103175/rss"/><entry><id>http://www.cnblogs.com/blodfox777/archive/2011/05/30/2063387.html</id><title type="text">应对.NET Reflector过期的小技巧</title><summary type="text">下午一如既往的打开.NET Reflector，发现2011年5月30日，免费的午餐终于到头了，本文提供一个小技巧来应对过期。</summary><published>2011-05-30T08:11:00Z</published><updated>2011-05-30T08:11:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2011/05/30/2063387.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2011/05/30/2063387.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/blodfox777/archive/2010/11/26/sharepoint-moss-2007-custom-webservice.html</id><title type="text">在MOSS2007中开发并部署自定义WebService</title><summary type="text">园子里几位前辈在若干年前已经写过一些在MOSS中部署自定义WebService的方法（如：文章一，文章二），但可能是MOSS版本不同的缘故，我试过数次都未能成功，最终摸索出了worked solution（与前面两位前辈文章中描述的solutions不同点很多），特总结于此，希望能够帮助需要的朋友们。</summary><published>2010-11-26T07:18:00Z</published><updated>2010-11-26T07:18:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2010/11/26/sharepoint-moss-2007-custom-webservice.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2010/11/26/sharepoint-moss-2007-custom-webservice.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/blodfox777/archive/2010/02/09/1666388.html</id><title type="text">Digg被黑了？No，呵呵</title><summary type="text">今天老大让我打开Digg.com的首页，看它的源码，这一看不要紧，偶当场就被雷到了，随即百思不得其解，被黑了？在老大的提示下，才发现玄机原来在这里……</summary><published>2010-02-09T05:38:00Z</published><updated>2010-02-09T05:38:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2010/02/09/1666388.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2010/02/09/1666388.html"/><content type="text">今天老大让我打开Digg.com的首页，看它的源码，这一看不要紧，偶当场就被雷到了，随即百思不得其解，被黑了？在老大的提示下，才发现玄机原来在这里……</content></entry><entry><id>http://www.cnblogs.com/blodfox777/archive/2010/01/13/CodeTimer.html</id><title type="text">方法性能比较的好帮手：CodeTimer的扩展应用</title><summary type="text">在09年的.NET技术大会上Jeffery Richard展示的性能测试代码中，功能强大的CodeTimer引起了大家的注意，园子里的老赵就自己写了一个，最近在老赵原有的代码上加上了一个Time方法的重载，以适用于非Console应用程序中快速的性能比较，比如Winform、Web、UnitTest、WindowsService等。</summary><published>2010-01-13T04:03:00Z</published><updated>2010-01-13T04:03:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2010/01/13/CodeTimer.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2010/01/13/CodeTimer.html"/><content type="text">在09年的.NET技术大会上Jeffery Richard展示的性能测试代码中，功能强大的CodeTimer引起了大家的注意，园子里的老赵就自己写了一个，最近在老赵原有的代码上加上了一个Time方法的重载，以适用于非Console应用程序中快速的性能比较，比如Winform、Web、UnitTest、WindowsService等。</content></entry><entry><id>http://www.cnblogs.com/blodfox777/archive/2010/01/07/1641513.html</id><title type="text">OpenLab V4 博客DB脚本备份</title><summary type="text">终于写完了，可能后续的修改不会少，先备份一下吧。更多信息：http://openlab.codeplex.com/SourceControl/list/changesetsblogsCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--&gt;/******对象:S...</summary><published>2010-01-07T10:30:00Z</published><updated>2010-01-07T10:30:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2010/01/07/1641513.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2010/01/07/1641513.html"/><content type="text">终于写完了，可能后续的修改不会少，先备份一下吧。更多信息：http://openlab.codeplex.com/SourceControl/list/changesetsblogsCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--&gt;/******对象:S...</content></entry><entry><id>http://www.cnblogs.com/blodfox777/archive/2009/04/17/1437897.html</id><title type="text">Linq to SQL删除或清空表的效率问题</title><summary type="text">今天在项目中需要删除一张表中的所有数据，或删除所有id=“XXX”的数据使用如下代码：[代码]发现删除的速度极其缓慢，并且多了许多无用功（取出需要删除元素的列表），在数据量上30万时实在难以忍受故采用如下方法：[代码]若需要清空一个表，则可直接使用：[代码]</summary><published>2009-04-17T03:47:00Z</published><updated>2009-04-17T03:47:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2009/04/17/1437897.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2009/04/17/1437897.html"/><content type="text">今天在项目中需要删除一张表中的所有数据，或删除所有id=“XXX”的数据使用如下代码：[代码]发现删除的速度极其缓慢，并且多了许多无用功（取出需要删除元素的列表），在数据量上30万时实在难以忍受故采用如下方法：[代码]若需要清空一个表，则可直接使用：[代码]</content></entry><entry><id>http://www.cnblogs.com/blodfox777/archive/2009/03/16/1413088.html</id><title type="text">将cnblogs嵌入你的Visual Studio 2005/2008</title><summary type="text">一直以来，我都在outlook中订阅cnblogs的首页RSS，每次查看还要打开outlook，感觉不是很便捷，前天看了下Visual Studio的设置，才发现一直以来比较讨厌的“Start Page”上的MSDN新闻也是通过RSS订阅的，从而也可以将博客园订阅到Visual Studio中去。不晓得大家知不知道这个小技巧，就来分享一下，暂首页二十分钟，还望早已知道的园友切莫拍砖。</summary><published>2009-03-16T04:40:00Z</published><updated>2009-03-16T04:40:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2009/03/16/1413088.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2009/03/16/1413088.html"/><content type="text">一直以来，我都在outlook中订阅cnblogs的首页RSS，每次查看还要打开outlook，感觉不是很便捷，前天看了下Visual Studio的设置，才发现一直以来比较讨厌的“Start Page”上的MSDN新闻也是通过RSS订阅的，从而也可以将博客园订阅到Visual Studio中去。不晓得大家知不知道这个小技巧，就来分享一下，暂首页二十分钟，还望早已知道的园友切莫拍砖。</content></entry><entry><id>http://www.cnblogs.com/blodfox777/archive/2009/02/23/1396391.html</id><title type="text">2009 .NET技术大会图文分享</title><summary type="text">2009年2月20日21日，中国第一届.NET技术大会在上海金钱豹酒店举行。无论如何，这是中国.NET开发者的第一次技术大会。Jeffrey Richter、高焕堂、胡百师等众多大师特地从海外前来分享技术，探讨经验。也有许多听众朋友特意从山东广州澳洲等地赶来参加。本人在此次大会中受益很深，总结了大会中的见闻感受，在此与大家分享（多图杀猫）</summary><published>2009-02-23T07:07:00Z</published><updated>2009-02-23T07:07:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2009/02/23/1396391.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2009/02/23/1396391.html"/><content type="text">2009年2月20日21日，中国第一届.NET技术大会在上海金钱豹酒店举行。无论如何，这是中国.NET开发者的第一次技术大会。Jeffrey Richter、高焕堂、胡百师等众多大师特地从海外前来分享技术，探讨经验。也有许多听众朋友特意从山东广州澳洲等地赶来参加。本人在此次大会中受益很深，总结了大会中的见闻感受，在此与大家分享（多图杀猫）</content></entry><entry><id>http://www.cnblogs.com/blodfox777/archive/2009/02/12/1389205.html</id><title type="text">stock代码备份</title><summary type="text">写了一天，累死了，备份一下~[代码]</summary><published>2009-02-12T08:31:00Z</published><updated>2009-02-12T08:31:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2009/02/12/1389205.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2009/02/12/1389205.html"/><content type="text">写了一天，累死了，备份一下~[代码]</content></entry><entry><id>http://www.cnblogs.com/blodfox777/archive/2009/02/10/1387229.html</id><title type="text">实时股票数据获取方式 </title><summary type="text">转自：股票数据的获取目前有如下两种方法可以获取: 1.http/javascript接口取数据2.web-service接口1.http/javascript接口取数据1.1Sina股票数据接口以大秦铁路（股票代码：601006）为例，如果要获取它的最新行情，只需访问新浪的股票数据接口：http://hq.sinajs.cn/list=sh601006这个url会返回一串文本，例如：var hq_...</summary><published>2009-02-10T02:35:00Z</published><updated>2009-02-10T02:35:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2009/02/10/1387229.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2009/02/10/1387229.html"/><content type="text">转自：股票数据的获取目前有如下两种方法可以获取: 1.http/javascript接口取数据2.web-service接口1.http/javascript接口取数据1.1Sina股票数据接口以大秦铁路（股票代码：601006）为例，如果要获取它的最新行情，只需访问新浪的股票数据接口：http://hq.sinajs.cn/list=sh601006这个url会返回一串文本，例如：var hq_...</content></entry><entry><id>http://www.cnblogs.com/blodfox777/archive/2009/01/20/1379084.html</id><title type="text">Windows 7 SDK beta版及开发示例视频发布</title><summary type="text">1月9日，Windows SDK for Windows 7 and .NET Framework 3.5 SP1 BETA版发布，一些Windows 7的开发资源也已经在channel9上发布了</summary><published>2009-01-20T10:36:00Z</published><updated>2009-01-20T10:36:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2009/01/20/1379084.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2009/01/20/1379084.html"/><content type="text">1月9日，Windows SDK for Windows 7 and .NET Framework 3.5 SP1 BETA版发布，一些Windows 7的开发资源也已经在channel9上发布了</content></entry><entry><id>http://www.cnblogs.com/blodfox777/archive/2009/01/16/1377029.html</id><title type="text">ASP.NET ImageButton/Image 控件关于border的一个诡异的BUG及其解决方案</title><summary type="text">今天上午帮同事重现一个客户提交的关于ASP.NET ImageButton/Image控件的bug，最终找出了原因，提交到了产品组，但很是不解，在网上搜索了一下，也没见大家讨论这个问题。在此就和大家研究一下</summary><published>2009-01-16T07:29:00Z</published><updated>2009-01-16T07:29:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2009/01/16/1377029.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2009/01/16/1377029.html"/><content type="text">今天上午帮同事重现一个客户提交的关于ASP.NET ImageButton/Image控件的bug，最终找出了原因，提交到了产品组，但很是不解，在网上搜索了一下，也没见大家讨论这个问题。在此就和大家研究一下</content></entry><entry><id>http://www.cnblogs.com/blodfox777/archive/2009/01/13/1374907.html</id><title type="text">Outlook Express邮件客户端的自动化配置</title><summary type="text">在部署一个政府OA系统中的邮件模块时，由于用户全都是五六十岁的老人，邮件客户端统一采用Outlook Express，甲方项目经理要求邮件客户端的配置实现全自动化，非常头疼，好不容易才解决，来此与大家分享。</summary><published>2009-01-13T07:12:00Z</published><updated>2009-01-13T07:12:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2009/01/13/1374907.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2009/01/13/1374907.html"/><content type="text">在部署一个政府OA系统中的邮件模块时，由于用户全都是五六十岁的老人，邮件客户端统一采用Outlook Express，甲方项目经理要求邮件客户端的配置实现全自动化，非常头疼，好不容易才解决，来此与大家分享。</content></entry><entry><id>http://www.cnblogs.com/blodfox777/archive/2009/01/12/1374404.html</id><title type="text">荣获微软“最有影响力开发者”GDI（General Develop Influencer）心得一二</title><summary type="text">记录一下，与有兴趣的朋友分享经验</summary><published>2009-01-12T10:17:00Z</published><updated>2009-01-12T10:17:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2009/01/12/1374404.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2009/01/12/1374404.html"/><content type="text">记录一下，与有兴趣的朋友分享经验</content></entry><entry><id>http://www.cnblogs.com/blodfox777/archive/2009/01/10/1372081.html</id><title type="text">我的2008年年记（上）</title><summary type="text">写给自己，人生最有活力的时期就是二十一二岁，青春的年代，苦涩的年代，也是成长的年代，每一分钟都需要永远记忆下来。不记下来，再过几年就忘了，会很可惜的。记下来，有空回忆回忆，自勉自励，自强不息……</summary><published>2009-01-09T22:37:00Z</published><updated>2009-01-09T22:37:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2009/01/10/1372081.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2009/01/10/1372081.html"/><content type="text">写给自己，人生最有活力的时期就是二十一二岁，青春的年代，苦涩的年代，也是成长的年代，每一分钟都需要永远记忆下来。不记下来，再过几年就忘了，会很可惜的。记下来，有空回忆回忆，自勉自励，自强不息……</content></entry><entry><id>http://www.cnblogs.com/blodfox777/archive/2008/10/02/1303127.html</id><title type="text">困兽之斗！使用JavaScript执行客户端的exe文件(excute the .exe file on client-side machine by JavaScript)</title><summary type="text">安全...安全...网络安全叫的很响，于是很多具有高危漏洞的技术都被直接和谐掉了，但在一些可信赖内网的Web应用中，很多需求是可以考虑在安全性和兼容性上放宽限制，从而实现目的比如以下的代码，使用IE内嵌的ActiveX控件来实现从网页上执行客户端机器上的exe文件尽管需要苛刻的执行权限和环境，但有些时候在需求走上绝路时，也可以一试，权作困兽之斗！[代码]</summary><published>2008-10-02T06:41:00Z</published><updated>2008-10-02T06:41:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2008/10/02/1303127.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2008/10/02/1303127.html"/><content type="text">安全...安全...网络安全叫的很响，于是很多具有高危漏洞的技术都被直接和谐掉了，但在一些可信赖内网的Web应用中，很多需求是可以考虑在安全性和兼容性上放宽限制，从而实现目的比如以下的代码，使用IE内嵌的ActiveX控件来实现从网页上执行客户端机器上的exe文件尽管需要苛刻的执行权限和环境，但有些时候在需求走上绝路时，也可以一试，权作困兽之斗！[代码]</content></entry><entry><id>http://www.cnblogs.com/blodfox777/archive/2008/10/02/1303119.html</id><title type="text">使用JavaScript展开/折叠TreeView中所有节点(Expand and Collapse All Nodes of asp.net Treeview on the client with javascript)</title><summary type="text">代码如下，国外网站上copy很多，也不知道谁才是原作者，但在.net 3.5下好像有一点毛病，就是图标的问题，不知道如何解决：[代码]</summary><published>2008-10-02T05:42:00Z</published><updated>2008-10-02T05:42:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2008/10/02/1303119.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2008/10/02/1303119.html"/><content type="text">代码如下，国外网站上copy很多，也不知道谁才是原作者，但在.net 3.5下好像有一点毛病，就是图标的问题，不知道如何解决：[代码]</content></entry><entry><id>http://www.cnblogs.com/blodfox777/archive/2008/09/23/1296766.html</id><title type="text">图片上传之前检查大小、尺寸、格式并预览(Validate the file size/file type/image size/ before upload)</title><summary type="text">读取客户端文件的信息对于Web应用程序来说几乎是不可能的，但我们可以通过JavaScript和IE内置的ActiveX来实现注意：本例仅能在IE浏览器中正常使用</summary><published>2008-09-23T04:53:00Z</published><updated>2008-09-23T04:53:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2008/09/23/1296766.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2008/09/23/1296766.html"/><content type="text">读取客户端文件的信息对于Web应用程序来说几乎是不可能的，但我们可以通过JavaScript和IE内置的ActiveX来实现注意：本例仅能在IE浏览器中正常使用</content></entry><entry><id>http://www.cnblogs.com/blodfox777/archive/2008/09/16/1291888.html</id><title type="text">网页的横向打印的三种方案(print your page landscape)</title><summary type="text">关于网页打印，window.print()提供的功能离远离一般的需求，很多情况下需要编程扩展目前网上有很多关于网页打印的，但大多采用了ActiveX控件或IE内置的一些Object，由于ActiveX的安全性因素，实用性大打折扣关于网页的横向打印，确切的说，使用标准JS或CSS方法是不可行的，然而，我们可以根据需求来考虑以下三种方案方案一：CSS滤镜实现MS为IE浏览器（5.0以上）提供了一套不错...</summary><published>2008-09-16T09:40:00Z</published><updated>2008-09-16T09:40:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2008/09/16/1291888.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2008/09/16/1291888.html"/><content type="text">关于网页打印，window.print()提供的功能离远离一般的需求，很多情况下需要编程扩展目前网上有很多关于网页打印的，但大多采用了ActiveX控件或IE内置的一些Object，由于ActiveX的安全性因素，实用性大打折扣关于网页的横向打印，确切的说，使用标准JS或CSS方法是不可行的，然而，我们可以根据需求来考虑以下三种方案方案一：CSS滤镜实现MS为IE浏览器（5.0以上）提供了一套不错...</content></entry><entry><id>http://www.cnblogs.com/blodfox777/archive/2008/09/15/1291145.html</id><title type="text">取消UpdatePanel的Updating (Cancel the Updating of UpdatePanel)</title><summary type="text">当使用UpdatePanel进行局部刷新时，有时候会遇到过长的等待时间，这时候，如果有一个“取消”按钮就能够为人机交互提供不少便利。在下面的代码中，我们先使用Sys.WebForms.PageRequestManager.getInstance()方法获取当前的PageRequest， 如果是异步刷新的话，就终止它</summary><published>2008-09-15T08:17:00Z</published><updated>2008-09-15T08:17:00Z</updated><author><name>LanceZhang</name><uri>http://www.cnblogs.com/blodfox777/</uri></author><link rel="alternate" href="http://www.cnblogs.com/blodfox777/archive/2008/09/15/1291145.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/blodfox777/archive/2008/09/15/1291145.html"/><content type="text">当使用UpdatePanel进行局部刷新时，有时候会遇到过长的等待时间，这时候，如果有一个“取消”按钮就能够为人机交互提供不少便利。在下面的代码中，我们先使用Sys.WebForms.PageRequestManager.getInstance()方法获取当前的PageRequest， 如果是异步刷新的话，就终止它</content></entry></feed>
