摘要
堅持下來,繼續推薦。本期共有7篇文章:
- Maarten Balliauw介紹的ASP.NET負載平衡以及ASP.NET的State Server
- VS 2008 Web Deployment項目支援發布
- 尋找“Untitled Page”的身影
- Peter的Data Entry Suite介紹
- 資料來源為空白時的一種更加優雅的顯示GridView頭尾的方法
- Access、SQL Server和MSDE的容量比較
- 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)
先上一張圖片:
不過據某牛人說對於這些大型網站,應該盡量應該減少Session的使用……
作者又推薦了幾個相關的文章,不妨同時看一下:
- ASP.NET Session State Partitioning using State Server Load Balancing
- ASP.NET Session State Partitioning
- 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,看介紹的樣子似乎不錯:
- Data entry controls:11種增強了的TextBox,例如MultiSegmentDataEntry、a Calendar、MonthYearPicker、TimePicker等。
- Validation:ASP.NET驗證器的替代品,功能多多,共27種。
- Submitting the page:支援確認資訊,避免重複提交,表單內容改變後才允許提交等。
- Interactive pages…………
- 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針對的使用環境以及設計的規範各不相同,自然支援的功能以及容量也各有千秋。不過真的有“好事者”比較了一下——既然有人花心思比較,我們也就去看看吧:
[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. ……
好在不是什麼不能說的秘密。按照作者的介紹,分別為:
- ASP.NET Pipeline optimization
- ASP.NET Process configuration optimization
- Things you must do for ASP.NET before going live
- Content Delivery Network
- Caching AJAX calls on browser
- Making best use of Browser Cache
- On demand progressive UI loading for fast smooth experience
- Optimize ASP.NET 2.0 Profile provider
- How to query ASP.NET 2.0 Membership tables without bringing down the site
- Prevent Denial of Service (DOS) attack
感覺還是不夠詳細,不過拿來入個門用也不錯了。