江大鱼(江振宇)的BLOG

不求大作,只为记录点点滴滴(转载本人原创文章转载请注明出处)

  博客园 :: 首页 :: 联系 :: 订阅 订阅 :: 管理

2008年8月14日 #

     摘要: 本文就设计和开发运营友好的服务的话题进行总结,得出一系列最佳实践。设计和部署大规模服务是一个高速发展的领域,因而随着时间的流逝,任何最佳实践集合都可能成熟并完善。我们的目的是为了帮助人们:
◆快速交付运营友好的服务;
◆避免清早电话铃声的骚扰,帮助备受运营不友好的服务侵扰的客户尽量摆脱窘境。
  阅读全文
posted @ 2008-08-14 17:51 江大鱼 阅读(313) | 评论 (0)编辑

     摘要: 本文就设计和开发运营友好的服务的话题进行总结,得出一系列最佳实践。设计和部署大规模服务是一个高速发展的领域,因而随着时间的流逝,任何最佳实践集合都可能成熟并完善。我们的目的是为了帮助人们:
◆快速交付运营友好的服务;
◆避免清早电话铃声的骚扰,帮助备受运营不友好的服务侵扰的客户尽量摆脱窘境。
  阅读全文
posted @ 2008-08-14 17:47 江大鱼 阅读(308) | 评论 (0)编辑

2008年7月23日 #

     摘要: 博客园已有几位同学发表了关于FileSystemWatcher事件多次触发的解决方法的文章,很好地解决了事件多次激发的问题。 主要方法有: 1.延迟激发法。 http://www.cnblogs.com/dragon/archive/2008/07/04/filesystemwatcher.html 原理是延迟调用事件的代理,将多次事件合并为一次,从而很好的解决了此问题,唯一的缺憾是时间激发不及时,不适用于实时性较高的系统。 2.临时禁用法. 3.检查最后更新时间法.  阅读全文
posted @ 2008-07-23 21:55 江大鱼 阅读(77) | 评论 (0)编辑

     摘要: 可在windows server 2003 or windows server 2008 下直接下载安装 下载页面: http://windowslivewriter.spaces.live.com/blog/cns!D85741BB5E0BE8AA!1508.entry 直接下载地址: http://download.microsoft.com/download/8/0/9/809604cd-bd08-42c8-b590-49c332059e64/writer.msi   阅读全文
posted @ 2008-07-23 07:28 江大鱼 阅读(295) | 评论 (2)编辑

2008年4月20日 #

     摘要: 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  阅读全文
posted @ 2008-04-20 21:48 江大鱼 阅读(229) | 评论 (0)编辑

2007年12月20日 #

     摘要: 很多人用ActionlessForm来解决这个问题,可是把每个form都改成ActionlessForm的工作量确实太大。

如果你的系统中已定义了叶面基类,那么问题可就简单的多了:

protected override void OnLoadComplete(EventArgs e)
{
string originalUrl = Context.Items["OriginalUrl"] as string;

if (!string.IsNullOrEmpty(originalUrl)) //So this page have been urlrewriten, after the page onloaded, rewrite the url of this page to original url
{
string query = string.Empty;
int pos = originalUrl.IndexOf('?');
  阅读全文
posted @ 2007-12-20 13:36 江大鱼 阅读(531) | 评论 (3)编辑

2007年11月22日 #

     摘要: Flex第一步 -- 国内第一本关于Flex的书籍

《flex第一步》 全书共分为17章。内容包括:Flex简介、Flex的安装和开发环境的建立、MXML 语法简介、使用容器控制界面布局、使用组件处理数据和交互、使用行为对象和动画效果、ActionScript 3.0编程知识、Flex的事件机制、数据绑定、组件的使用、Flex 2.0新特性实例开发、Flex与外部的数据通信、Flex程序设计等。

书中包括四个大型应用开发实例:Flex数据库留言本、Flex产品展示系统、Flex投票系统、Flex天气预报系统。除此之外,书中还贯穿了大量Demo级小例子,让技术不再抽象,帮你快速掌握Flex开发的关键。

作者深入浅出,从理论到实践,从基础知识到实践项目把Flex的技术阐述得相当到位,堪称国内Flex图书的开山之作。
  阅读全文
posted @ 2007-11-22 12:52 江大鱼 阅读(296) | 评论 (0)编辑

2007年9月23日 #

     摘要: 在asp.net 1.1中, 二级域名Forms验证模式下共享登陆状态的方法请参考下面文章:
http://www.cnblogs.com/caomao/archive/2005/07/05/186606.html
而在asp.net 2.0中实现方法更为简单,只需修改web.config文件即可,修改方法如下  阅读全文
posted @ 2007-09-23 00:04 江大鱼 阅读(594) | 评论 (6)编辑

2006年7月6日 #

     摘要: Microsoft has been working on version 2.0 of the.NET Framework and Visual Studio 2005
for a number of years now. Between the bits that were handed out at the PDC in 2003 and the
release candidate handed out at the PDC in 2005, there’s been an unusually long period of
time for curious developers to play around with the new functionality, picking out their
favorites, and pining for the day they can be used in a production application. Over that same
period of time the features   阅读全文
posted @ 2006-07-06 17:29 江大鱼 阅读(794) | 评论 (4)编辑

     摘要: Brilliantly compiled by author Juval Lowy, Programming .NET Components, Second Edition is the consummate introduction to the Microsoft .NET Framework--the technology of choice for building components on Windows platforms. From its many lessons, tips, and guidelines, readers will learn how to use the .NET Framework to program reusable, maintainable, and robust components.

Following in the footsteps of its best-selling predecessor, Programming .NET Components, Second Edition has been upda  阅读全文
posted @ 2006-07-06 17:20 江大鱼 阅读(1222) | 评论 (1)编辑

2006年5月23日 #

     摘要: 在.net 1.1中我们要实现压缩这一功能,一般都是用open source的SharpZipLib 或者调用J#类库。 现在在.net 2.0中增加了压缩功能,名字空间为 using System.IO.Compression;  阅读全文
posted @ 2006-05-23 16:23 江大鱼 阅读(770) | 评论 (0)编辑

2006年3月28日 #

     摘要: bcm.gif

Download Address:
http://www.drivehq.com/file/ShowFolder.aspx?G=1&shareID=43383

In the Folder named "DotNet"

Please Open it!
  阅读全文
posted @ 2006-03-28 11:05 江大鱼 阅读(1344) | 评论 (1)编辑

2006年2月20日 #

     摘要: 本文背景: http://jzywh.cnblogs.com/archive/2005/09/29/246650.html

网上很多朋友看到我这篇文章,按照我的方法做了,但是还是没有得到想要的效果,其实有些问题需要注意一下,我上篇文章也只是提出了解决这一问题的办法的最核心的内容,有些朋友可能在实际运用中可能会碰到一些问题其实可以根据自己的经验作出相应处理应该可以解决,我在这里帮大家列出几点以帮助大家快速解决问题。   阅读全文
posted @ 2006-02-20 13:29 江大鱼 阅读(7357) | 评论 (34)编辑

2006年1月16日 #

     摘要: Introduction
Internet Storage can be used to:
Store files on the internet for accessing from anywhere, anytime;
Sharing files among friends;
Remote or off-site file backups.
Lots of companies provide internet storage services. Most of them offer this service for a fee; a few of them provide either a restricted free service or a limited free trial. This report is created to provide an objective and the most up-to-date feature comparisons among all Internet storage websites  阅读全文
posted @ 2006-01-16 12:32 江大鱼 阅读(1027) | 评论 (1)编辑

2005年12月17日 #

posted @ 2005-12-17 12:37 江大鱼 阅读(360) | 评论 (0)编辑