英文版资料[庖丁解牛—纵向切入Asp.net 3.5控件和组件开发技术]
. Carving Up an Ox
* Book Name
《Carving Up an Ox: In-depth Analysis intoASP.NET 3.5 Controls and Components Development Technology》
* Author
Zheng Jian
* Table of Content
Chapter 1 Introduction of Server Control and Deployment Process
1.1 Custom Server Control
1.2 Usage of Server Control
1.3 Improve In Control Development
1.4 Basis Of Inheritable Base Control
1.5 Simple customized control
1.5.1 Develop a simple customized control
1.5.2 Deployment and Execution
1.6 Lifecycle of custom control
1.6.1 Overview
1.6.2 Trace life cycle of customcontrol
1.7 Summary
Chapter 2 Debug In Server Controls
2.1 Preset codes example
2.2 Debug Code In Server-Side
2.3 Debug Control In Server-Side
2.3.1 Debug Code in Execution-Model
2.3.2 Debug Code in Design-Mode
2.4 Debug JavaScript
2.4.1 Debug JavaScript(1)
2.4.2 Debug JavaScript(2)
2.4.3 Debug Un-embedded Javascript
2.4.4 Debug Embedded Javascript source file
2.4.5 Tips of High Performance Debug
2.5 Debugging JavaScript In Ajax Library
2.6 Summary
Chapter 3 Basis Of Sever Control
3.1 Base Classe
3.2 Controls Display Order
3.3 Render Method
3.3.1 HTMLTextWriter
3.3.2 Output HTML Tags
3.3.3 RenderControl Method
Method
3.4 AddAttributesToRender Method
3.5 CreateChildControls Method
3.6 INamingContainer
3.7 Implementation of Combined controls
3.7.1 CreateChildControls Method
3.7.2 ChildControlsCreated Property
3.7.3 EnsureChildControls Method
3.7.4 RecreateChildControls Method
3.7.5 ControlsProperties
3.7.6 HasControls Method
3.7.7 HasEvents Method
3.7.8 FindControl Method
3.7.9 Example Of Composite Control
3.8 Common Development Skills
3.8.1 DesignMode Property
3.8.2 Disable Properties Of SuperClass ControlProperty
3.8.3 Page.Request.Browser
3.8.4 Convention of Control ID setting
3.8.5 Improved FindControl
3.8.6 Reflect Control Value From Server-side To Client-side
3.8.7 Inactive Derive From Sub-control Of CompositeControl
3.8.8 Attentions of Using CreateChildControls
3.8.9 DefaultValue In Meta-data
3.8.10 Use Base Class Method In Render Method
3.8.11 Conditional Compile & Conditional Property
3.9 Summary
Chapter 4 Sever Control Properties
4.1 Usage Of Sever Control Property
4.1.1 System Property
4.1.2 Custom Property
4.2 Simple Property
4.3 Feature Properties In Design-Mode
4.4 Complex Property
4.4.1 OverView
4.4.2 Complex Property
4.4.3 Complex Property Analyzer
4.5 Custom Property Editor
4.5.1 System Property Editor
4.5.2 Custom Property Editor
4.6 Type Convertor
4.6.1 System Type Convertor
4.6.2 Custom Type Convertor
4.7 Custom Property
4.8 Summary
Chapter 5 PostBackEventHandler And PostBackDataHandler
5.1 Overview Of PostBackEventHandler And PostBackDataHandler
5.1.1 Event In Asp.net
5.1.2 Data Postback
5.2 PostBackEventHandler And PostBackDataHandler
5.2.1 IPostBackEventHandler
5.2.2 Postback And Callback
5.2.3 IPostBackDataHandler
5.2.4 Using Event In Base Class
5.2.5 Extend KingTextBox Control
5.3 Event Handling In Composite Control
5.3.1 Event Collection In Composite Control
5.3.2 Custom Event And Argument
5.3.3 Event In Composite Control
5.3.4 SearchControlIntelligent
5.4 Summary
Chapter 6 Page State
6.1 Overview Of Page State
6.2 ViewState
6.2.1 IStateManager
6.2.2 Load And Save ViewState In Control LifeCycle
6.2.3 Primary Type In ViewState
6.2.4 Custom ViewState
6.3 Control State
6.4 ViewState And ControlState
6.4.1 Using ViewState In Disable ViewState Control
6.4.2 Using IStateManager In ControlState
6.4.3 Rules In ViewSate And ControlState
6.5 Encrypt page State
6.6 Clear Page State
6.7 Analyze ViewState Of Dynamic Control
6.8 Efficient Serialization Using Customing Type Convertor
6.9 Optimization Strategy Of Page State
6.9.1 ViewState In Server-Side
6.9.2 Compress ViewState
6.9.3 Block ViewState
6.10 Summary Of ViewState And ControlState
6.11 Summary
Chapter 7 Custom Control Theme and Style
7.1 Overview Of Control Style
7.2 Using Style In ASP.NET
7.2.1 Basis Of Style Class
7.2.2 Using Style In WebControl
7.2.3 Using Style In HTMLTextWriter
7.2.4 Ruls In Style Property
7.2.5 Two Convert Method
7.3 Example
7.3.1 Style And ViewState In Composite Control
7.3.2 Control Structure And Style
7.4 Summary
Chapter 8 Programming Model Of Client-Side
8.1 Using Client-Side Objects In ASP.NET Server Control
8.2 Functions Of ClientScriptManager
8.2.1 RegisterArrayDeclaration Method
8.2.2 RegisterClientScriptBlock Method
8.2.3 RegisterClientScriptIncludeMethod
8.2.4 RegisterClientScriptResourceMethod
8.2.5 RegisterStartupScriptMethod
8.2.6 RegisterExpandoAttributeMethod
8.2.7 RegisterHiddenFieldMethod
8.2.8 GetCallbackEventReferenceMethod
8.2.9 GetPostBackClientHyperlinkMethod
8.2.10 GetPostBackEventReferenceMethod
8.2.11 GetWebResourceUrlMethod
8.2.12 RegisterOnSubmitStatementMethod
8.3 Callback In Client-Side
8.4 Example Of Client-Side Control
8.4.1 Encapsulate JS Object In Client-Side
8.4.2 Encapsulate HTC Object In Client-Side
8.4.3 SignatureOnlineControl
8.5 JavaScript Framework
8.6 Summary
Chapter 9 Custom UserControl
9.1 Overview of Custom UserControl
9.1.1 Usage Of UserControl
9.1.2 System.Web.UI.UserControl
9.2 Example of Custom Control
9.2.1 Simple UserControl
9.2.2 Complex DataBind UserControl
9.3 Cache Of UserControl
9.3.1 Cache In ASP.NET
9.3.2 Cache In UserControl
9.4 Summary
Chapter 10 Validation Control
10.1 Principle Of Validation Control
10.1.1 Basis Of Vilidate Contro
10.1.2 Mechanism Of Vilidate Control
10.2 Custom Validation Control
10.3 Summary
Chapter 11 Embedded Resource In Control
11.1 Principle Of Embedded Resource In Control
11.2 Embedded Resource In Control
11.2.1 Embedded Resource In Control
11.2.2 Embedded Resource In Control Method
11.3 Tools For Browser
11.3.1 HttpWatch
11.3.2 IE Develper Toolbar
11.3.3 Fiddler
11.4 Summary
Chapter 12 DataBind Control Using Template
12.1 Template Property In ASP.NET
12.1.1 Properties Of Template
12.1.2 Using Template In ASP.NET
12.1.3 Template In Repeater
12.2 Example Of Custom Control
12.2.1 Functions Of Template
12.2.2 Example
12.3 Summary
Chapter 13 DataBind And DataSource Control
13.1 DataBind Control
13.1.1 OverView Of DataBind Control
13.1.2 Using DataBind Control In ASP.NET
13.2 Example Of DataBind Control
13.2.1 Methods In Control
13.2.2 Example
13.3 Datasource Control
13.3.1 OverView Of Datasource Control
13.3.2 Using Datasource Control In ASP.NET
13.4 Example Of Datasource Control
13.4.1 Method In Datasource Control
13.4.2 Example
13.5 Summary
Chapter 14 Extensible Control——GridView
14.1 Overview Of Extensible Control
14.2 Multiple Header In GridView
14.2.1 Method
14.2.2 Code
14.3 Add Scroller Except For Header In GridView
14.3.1 Method
14.3.2 Code
14.4 Summary
Chapter 15 Programming In Custom Control Design-Mode
15.1 Using .NET Framework In Design-Mode
15.2 Metadata In Design
15.3 Serialization Of Complex Property
15.4 Type Convertor
15.5 Property Editor
15.6 Base Class for Design-Mode
15.7 Render In Design-Mode
15.7.1 OverView
15.7.2 Example
15.8 Auto Format
15.8.1 OverView
15.8.2 Example
15.9 Template UI Editor
15.10 List Of Smart Operation
15.10.1 OverView
15.10.2 Example
15.11 Control Content Edit
15.11.1 OverView
15.11.2 Example
15.12 Summary
Chapter 16 Client-Side Control Using ASP.NET Ajax
16.1 Overview Of ASP.NET Ajax Framework
16.2 Using Ajax Library In Client-Side Object
16.2.1 Namespace,,TypeAnd Function
16.2.2 Interface
16.2.3 Features In Class Type And Object-Oriented
16.2.4 Enum Type
16.2.4 Reflect
16.3 Common Class Of Ajax Library
16.3.1 Extend Base Class In Ajax Library
16.3.2 Sys.StringBuilder
16.4 Ajax Library Request For Server And WebServices
16.4.1 Sys.NET
16.4.2 Process Of Request
16.4.3 WebRequest
16.4.4 Call Server-Side Method Using Ajax Proxy
16.5 Using Ajax Library In Client-Side
16.5.1 Member In Client-Side Control
16.5.2 LifeCycle In ASP.NET Ajax Client-Side Control
16.6 Examples Of Client-side Control
16.7 Debugging And Tracing
16.8 Summary
Chapter 17 ASP.NET Ajax Controls In Server-side
17.1 ASP.NET AjaxSever ControlsSummarize
17.2 AjaxSever Controls
17.2.1 AjaxSever Controls
17.2.2 Extend ASP.NET Ajax Control
17.3 Base Class for Server Controls In ASP.NET Ajax
17.3.1 Base Class In Ajax Control
17.3.2 Example Of Ajax Control
17.4 Summary
Appendix A .NET 3.5 Technology Tutorial Series
Collection/ASP.NET Ajax/ SilverLight/JQuery
* Description
This book is to introduce the underlying principles of ASP.NET control development based on the author’s years of development. Over 70 examples are provided in this book to demonstrate the various aspects of ASP.NET control development, as well as to analyze the base source code, to assist developers in understanding the concept of design model. A thorough understanding of the mechanism behind ASP.NET will make it much easier to develop a web-based application. The whole purpose of this book is to help developers build up a full understanding of ASP.NET development and ultimately bring their technical skills to a new level. By finishing this book you are expected not only to experience an upgrade in technical skills but also to have a comprehensive knowledge of ASP.NET development principle.
80% of the developers can only utilize 20% of the ASP.NET functions whilst only 20% are the experts who can manipulate the rest of the 80% functions to build the real excellent programs. The secret of such differences lies with the development of control and component, which will be fully revealed in this book. Those who are not devoted to becoming an expert level ASP.NET programmer please don’t attempt to open this book
—— Jianmin Hu Market Manager of Microsoft Development Tools, Great China Area
To quote Nourishing the Lord of Life, ‘standing up with the knife in my hand, I look all round, and in a leisurely manner, with an air of satisfaction’. I believe this is the exact feelings you will have after finishing this book
——Hongchao Wang Microsoft (China), Chief Internet Architecture Consultant
* Feedback, Background Of Author, Performance
。
Background Of Author
【2006~2009 Microsoft MVP Global】【MSDN Chinese Technical Forum Moderator】【优快云 Blog Experts, community experts, experts Honor】【优快云 community Asp.netModerator、Asp.net Control / Component Development section Moderators】【Won the "DevWOW 2008/2009 Microsoft blog of two people" prize】【won the "most influential developers"】 awards, have many years of experience in Asp.net project development
Achievement:
Microsoft’s shown strong support to this book since its conception. With recommendationfrom Jianmin Hu, Market Manager of Microsoft Development Tools, Great China Area, Microsoft headquaters has offered to provide genuine Visual Studio 2008 DVD (learning version) for this book, and has placed an order of 300 copies of it. In addition the copyright for traditional Chinese version had been purchased by a Taiwan-based publisher even before the Simplified Chinese version was published.
Since it came out in April, 2009, the book has been one of the bestselling ASP.NET focused books in many online bookstores.