Book description
The complete guide to developing professional, reusable ASP.NET server controls and components—direct from the insiders who developed the technology.
Web Forms—the Page and Control Framework at the heart of ASP.NET—makes it easier to develop dynamic Web applications. But you can go beyond the controls that ship with ASP.NET—and power up your Web sites and applications—by creating your own server controls. You can also develop and distribute your own controls for commercial use. This comprehensive guide, direct from key insiders who really know the technology, combines conceptual and architectural details with practical, how-to information and real-world code samples to show exactly how to create custom, reusable, professional-quality server controls with rich design-time functionality. It also provides essential information about configuration and the HTTP runtime, packaging, deployment, debugging, and developing controls that incorporate XML Web services, plus other vital topics. And it introduces the ASP.NET Web Matrix tool for creating Web applications and for using server controls.
Table of contents
- Developing Microsoft® ASP.NET Server Controls and Components
- Dedication
- A Note Regarding Supplemental Files
- Foreword
- Acknowledgments
- Introduction
- I. Overview
-
II. Server Controls—First Steps
-
4. User Controls: From Page to Control
- Converting a Page to a User Control
- Reusable User Controls: The SiteHeader and SiteFooter Examples
- The User Control Model
- Deploying a User Control
- An Application-Specific User Control: The CruiseSelector Example
- Relative URLs in User Controls
- Programmatically Instantiating a User Control
- Caching a User Control
- Summary
- 5. Developing a Simple Custom Control
- 6. Custom Controls vs. User Controls
-
4. User Controls: From Page to Control
-
III. Server Controls—Nuts and Bolts
- 7. Simple Properties and View State
-
8. Rendering
- Base Classes and Rendering
- Rendering Methods of the Control Class
- Overriding Render—The MetaTag Control Example
- HtmlTextWriter and Related Enumerations
- Rendering Methods of WebControl
- Rendering a Web Control—The HoverLabel Example
- Exercising HtmlTextWriter—The LoginUI Example
- Downlevel Rendering
- Summary
-
9. Control Life Cycle, Events, and Postback
- Control Life Cycle
- Events in Server Controls
- Postback Architecture
- Mapping a Postback Event to a Server Event—The IPostBackEventHandler Interface
- Optimizing Event Implementation
- Generating Client-Side Script for Postback
- IPostBackDataHandler and Postback Data
- Putting It Together—The Login Example
- Exposing Other Semantic Events—The HitTracker Example
- Summary
- 10. Complex Properties and State Management
- 11. Styles in Controls
-
12. Composite Controls
- Composite Controls—Key Concepts
- Implementing a Composite Control—The CompositeLogin Example
- APIs Related to Composite Controls
- View State and Child Controls
- Event Bubbling
- Styles in Composite Controls—The StyledCompositeLogin Example
- Templated Controls Overview
- Implementing a Templated Control—The ContactInfo Example
- Control Parsing and Control Builders
- Summary
- 13. Client-Side Behavior
- 14. Validator Controls
- 15. Design-Time Functionality
- 16. Data-Bound Controls
- 17. Localization, Licensing, and Other Miscellany
- IV. Server Components
- V. Server Control Case Studies
- VI. Appendixes
- D. About the Authors
- E. Folding Ruler
- Index
- About the Authors
- Copyright
Product information
- Title: Developing Microsoft® ASP.NET Server Controls and Components
- Author(s):
- Release date: August 2002
- Publisher(s): Microsoft Press
- ISBN: 9780735615823
You might also like
book
Advanced ASP.NET AJAX Server Controls For .NET Framework 3.5
Microsoft .NET Development Series “Supported by the leaders and principal authorities of core Microsoft technologies, this …
book
Programming Microsoft® ASP.NET 3.5
Get the practical, popular reference written by ASP.NET authority Dino Esposito now updated for ASP.NET 3.5. …
book
Pro ASP.Net 4 in C# 2010
ASP.NET 4 is the latest version of Microsoft's revolutionary ASP.NET technology. It is the principal standard …
book
Build Your Own ASP.NET 4 Web Site Using C# & VB, 4th Edition
Build Your Own ASP.NET 4 Web Site Using C# & VB is aimed at beginner ASP.NET …