開門見山,這里是一些入門的問題,我覺得知道這些問題的答案對了解 asp.net 比較有幫助。 問題本身不一定嚴(yán)謹(jǐn),甚至可能不太對,但我想只要對了解 asp.net 有幫助就可以了。
1. Page class 實現(xiàn)了哪個重要的 interface? 2. foo.aspx 編譯后的 class 名字是什么? 3. Shadow-copy dll 存在哪里? 4. 談?wù)?AutoEventWireup 5. 關(guān)于 Directive 中的 Inherits:一個 aspx 可能 inherits 多個 class 嗎? 多個 page 可能 inherits 一個 code behind 嗎? 6. @Assembly 和 csc /r 和 vs.net 項目中 reference 的關(guān)系是什么? 7. web control 和 html control 在 performance 上有區(qū)別嗎? 8. 對 asp.net 的請求是由哪個 isapi extension 處理分發(fā)的? 9. 這個 isapi extension 實際上把請求 forword 到哪個 process? 10 如果使用外部進(jìn)程維護(hù) session,這個進(jìn)程是什么? 如果對它做 serialization 效率不滿意應(yīng)該怎么辦? 11 如何自己做個 httphandler? 能想出它有什么實際用處嗎? 12 談?wù)?HttpModule 13 如何在 VS.NET 中 debug asp.net 應(yīng)用? 14 如果你通過繼承 System.Web.UI.Control 寫了個 Custom Control, 如何加上對 client-side script 的支持? 15 在 aspx 頁面中放上一些 TextBox, ListBox 等等 Web Control, 但在 code-behind 中并不定義它們,是否可能使用這些 control? 16 自己寫個 control 如何支持 template? 能否在 control 中寫代碼讀取 template 中將要放入的內(nèi)容(比如控件)的值?
答案(略)。
|