Thursday, November 13, 2008

要會哪些東西,才算是熟 ASP.NET 3.5 ?

你想要知道你要達到什麼樣的程度,才可以算 是你對 ASP.NET 3.5 夠了解嗎?我們可以由微軟所公布的 MCTS Exam 70-562: TS: Microsoft .NET Framework 3.5: ASP.NET 3.5 Application Development 的技能測驗目標清單來看出端倪。

Configuring and Deploying Web Applications (10 percent)

Configure providers.
會設定 ASP.NET Membership, Profile, Role, WebPart, WebEvent 等 Provider。

Configure authentication, authorization, and impersonation.
會設定 Forms/Windows/Passport Authentication, URL Authorization 與 ASP.NET Impersonation 的能力。

Configure projects, solutions, and reference assemblies.
這個應該是 Visual Studio 的專案設定能力,包含專案與方案,以及其參考的組件,參考的組件可以由 Web.config 來加進去。

Configure session state by using Microsoft SQL Server™, State Server, or InProc.
Web.config 中的 區段的設定,以及若要用 SQL Server 資料庫當 session store 的話要怎麼做,而使用 State Server 時會要做哪些設定以及可能的問題。

Publish Web applications.
由 Web/Folder/FTP/WebDAV 來發布應用程式到網站上。

Configure Application Pools.
設定 IIS 6.0 與 IIS 7.0 的 application pooling 能力。

Compile an application by using Visual Studio or command-line tools.
使用 aspnet_compiler 或 Visual Studio 做發布的預先編譯程序。

Consuming and Creating Server Controls (20 percent)

Implement databound controls.
實作具有 data-bound 能力的控制項。

Load user controls dynamically.
動態載入使用者控制項,也就是 Page.LoadControl() 的使用法。

Create and consume custom controls.
建立 custom control 的方法,以及建立後的引用。

Implement client-side validation and server-side validation.
驗 證控制項的使用,包含 RegularExpressionValidator, RequiredFieldValidator, CompareValidator, RangeValidator 與 CustomValidator,並且要會設定 Client-side 與 Server-side 的驗證方式。

Consume standard controls.
使用 ASP.NET 內建的控制項的方式。

Working with Data and Services (17 percent)

Read and write XML data.
System.Xml 的使用,包含 XmlDocument, XPath, XmlReader, XmlWriter 等讀寫 XML 節點的方法。

Manipulate data by using DataSet and DataReader objects.
ADO.NET 的用戶端資料存取的操作,這個會重視在用戶端程式操作,而重點的部份會在另一科考試 ADO.NET 3.5 來測驗。

Call a Windows Communication Foundation (WCF) service or a Web service from an ASP.NET Web page.
由 ASP.NET 呼叫 Web Service 或由 WCF 所建立的 Service 的方法,以用戶端角度來發展,而不是針對服務本身。

Implement a DataSource control.
自訂與使用 DataSource Control 的能力,包括 PagedDataSource, SqlDataSource, ObjectDataSource 等。

Bind controls to data by using data binding syntax.
使用 Eval 與 Bind 指令來將資料綁到控制項中。

Troubleshooting and Debugging Web Applications (16 percent)

Configure debugging and custom errors.
組態除錯器與自訂錯誤的能力,例如 Web.config 中的 區段。

Set up an environment to perform remote debugging.
為執行遠端除錯的目的來設定環境。

Debug unhandled exceptions when using ASP.NET AJAX.
在 ASP.NET AJAX 中除錯未處理的例外狀況。

Implement tracing of a Web application.
利用 Trace 的方式來實作訊息輸出的能力,這個可以在 Release 的生產環境中輸出特定的訊息以利錯誤檢測。

Debug deployment issues.
排除在部署時可能發生的問題。

Monitor Web applications.
監控 Web 應用程式,方法有 ASP.NET Health Monitor 與 Performance Counter 等。

Working with ASP.NET AJAX and Client-Side Scripting (15 percent)

Implement Web Forms by using ASP.NET AJAX.
使用 ASP.NET AJAX 來實作 Web 表單。

Interact with the ASP.NET AJAX client-side library.
使用 ASP.NET AJAX 用戶端類別庫設計程式。

Consume services from client scripts.
由用戶端指令碼來存取 Web Service 或 WCF 的 HTTP Service。

Create and register client script.
建立與註冊用戶端指令碼,包含由伺服端輸出與用戶端引用。

Targeting Mobile Devices (5 percent)

Access device capabilities.
存取行動裝置能力 (HttpCapabilities)

Control device-specific rendering.
設定以特定裝置為主的處理。

Add mobile Web controls to a Web page.
使用 Mobile Web 控制項。

Implement control adapters
實作 Control Adapter。

Programming Web Applications (17 percent)

Customize the layout and appearance of a Web page.
組態網站的配置以及風格,這包含 Master Page, Theme 與表格設定等。

Work with ASP.NET Intrinsic Objects.
對 Request, Response, Session, Application 與 Server 五大內建物件的操作。
這五個內建物件都在 HttpContext 之下。

Implement globalization and accessibility.
實作網站的全球化能力(App_Globalization 與資源檔的使用)與身障人士支援能力。

Implement business objects and utility classes.
實作在 ASP.NET 中的 Business Object 與類別(把重點放在 App_Code)。

Implement session state, view state, control state, cookies, cache, or application state.
實作 Web 應用程式的狀態管理能力,範圍包含控制項,Cookie,Session,快取與應用程式狀態。

Handle events and control page flow.
處理事件與頁面流程,重點為 Page event sequence。

Implement the Generic Handler.
實作 HTTP Handler 與 HTTP Module 能力。

微軟的考試通過標準都是 700/1000 分,至少上面列出來的技能,你必須要會 70% 以上才能獲得認可,不過筆者認為在台灣要更嚴格一點,要 80% 以上才夠,尤其是如果想要獨當一面的話。

來源:http://blogs.msdn.com/gerryo/archive/2008/03/13/get-ready-for-the-asp-net-3-5-mcts-exam.aspx

註:中文註解為筆者所撰,僅供參考用。

No comments: