本周ASP.NET英文技術文章推薦[01/27 - 02/02]:負載平衡、State Server、Web Deployment、Data Entry Suite、GridView、Access、S

來源:互聯網
上載者:User

摘要

堅持下來,繼續推薦。本期共有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)

先上一張圖片:

不過據某牛人說對於這些大型網站,應該盡量應該減少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針對的使用環境以及設計的規範各不相同,自然支援的功能以及容量也各有千秋。不過真的有“好事者”比較了一下——既然有人花心思比較,我們也就去看看吧:

 

[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

感覺還是不夠詳細,不過拿來入個門用也不錯了。

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.