代码改变世界

【收藏】本周ASP.NET英文技术文章推荐[01/27 - 02/02]:负载均衡、State Server、Web Deployment、Data Entry Suite、GridView、Access、SQL Server、MSDE

2008-02-03 09:32  Jacky_Xu  阅读(604)  评论(0编辑  收藏  举报

摘要

坚持下来,继续推荐。本期共有7篇文章:

  1. Maarten Balliauw介绍的ASP.NET负载均衡以及ASP.NET的State Server
  2. VS 2008 Web Deployment项目支持发布
  3. 寻找“Untitled Page”的身影
  4. Peter的Data Entry Suite介绍
  5. 数据源为空时的一种更加优雅的显示GridView头尾的方法
  6. Access、SQL Server和MSDE的容量比较
  7. 10个有关ASP.NET性能以及可扩展性的秘密

 

[1] Maarten Balliauw on ASP.NET load balancing and the ASP.NET state server (Maarten Balliauw介绍的ASP.NET负载均衡以及ASP.NET的State Server)

先上一张图片:

Aa479041_aspnetsessionstate_fig01

不过据某牛人说对于这些大型站点,应该尽量应该减少Session的使用……

作者又推荐了几个相关的文章,不妨同时看一下:

  1. ASP.NET Session State Partitioning using State Server Load Balancing
  2. ASP.NET Session State Partitioning
  3. ASP.NET load balancing and ASP.NET state server (aspnet_state)

 

[2] VS 2008 Web Deployment Project Support Released (VS 2008 Web Deployment项目支持发布)

VS 2008 Web Deployment项目出来了,Scott对此介绍了一番,当然还是以他擅长的引用链接为主。2005中的这个东西似乎很强大的样子,现在到了2008版本,应该会更好更强大吧?

Scott同时“指出”了另外一些介绍的文章,比如http://blogs.msdn.com/webdevtools/archive/2008/01/25/announcing-rtw-of-visual-studio-2008-web-deployment-projects-wdp.aspx

还有IIS团队的Web Deployment Tool,也同时被提起。都是一些不错的东西。

 

[3] Finding Untitled Page Titles (寻找“Untitled Page”的身影)

在VS中新建一个ASP.NET页面后,你会发现页面的标题为“Untitled Page”,似乎所有人都知道应该马上改名。不过哪怕是微软自己,都有力不从心的时候:

http://www.google.com/search?hl=en&q=allintitle%3A++%22untitled+page%22+site%3Amicrosoft.com

1930条结果……

 

[4] Introducing Peter's Data Entry Suite (Peter的Data Entry Suite介绍)

Peter的这个Data Entry Suite包含了70来种有关数据的Web Control,看介绍的样子似乎不错:

  1. Data entry controls:11种增强了的TextBox,例如MultiSegmentDataEntry、a Calendar、MonthYearPicker、TimePicker等。
  2. Validation:ASP.NET验证器的替代品,功能多多,共27种。
  3. Submitting the page:支持确认信息,避免重复提交,表单内容改变后才允许提交等。
  4. Interactive pages…………
  5. Input Security …………

 

[5] A more elegant solution to display GridView header and footer when the data source is empty (数据源为空时的一种更加优雅的显示GridView头尾的方法)

(标题翻译得挺恶心的)

与GridView绑定的数据源为空的时候,GridView将自动显示出定义在EmptyDataTemplate中的东西。不过Header和Footer两个Template中的内容却被无情地抛弃了……

作者因此颇为郁闷,于是继承了GridView基类,干预了它的实现,让此时的GridView同样能把Header和Footer显示出来。

不得不说,这才是真正的用面向对象思想解决问题的好办法。若是简单地copy paste一段HTML进去,看似省时省力,不过自身又能在这种工作中有什么提高呢?

 

[6] What are the capacities of Access, SQL Server, and MSDE? (Access、SQL Server和MSDE的容量比较)

Access、SQL Server和MSDE针对的使用环境以及设计的规范各不相同,自然支持的功能以及容量也各有千秋。不过真的有“好事者”比较了一下——既然有人花心思比较,我们也就去看看吧:

image

 

[7] 10 ASP.NET Performance and Scalability Secrets (10个有关ASP.NET性能以及可扩展性的秘密)

标题党?而且作者第一句话就是ASP.NET 2.0 has many secrets, when revealed, can give you big performance and scalability boost. ……

好在不是什么不能说的秘密。按照作者的介绍,分别为:

  1. ASP.NET Pipeline optimization
  2. ASP.NET Process configuration optimization
  3. Things you must do for ASP.NET before going live
  4. Content Delivery Network
  5. Caching AJAX calls on browser
  6. Making best use of Browser Cache
  7. On demand progressive UI loading for fast smooth experience
  8. Optimize ASP.NET 2.0 Profile provider
  9. How to query ASP.NET 2.0 Membership tables without bringing down the site
  10. Prevent Denial of Service (DOS) attack

感觉还是不够详细,不过拿来入个门用也不错了。

From:http://dflyingchen.cnblogs.com