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.
Publisher resources
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
The Essential Guide to Telecommunication, 6th Edition
“Annabel Dodd has cogently untangled the wires and switches and technobabble of the telecommunications revolution and …
book
Python Crash Course, 3rd Edition
Python Crash Course is the world's best-selling guide to the Python guide programming language, with over …
book
Professional C# and .NET, 2021st Edition
Get the latest coverage of the newest features in C#9 and .NET 5 In Professional C# …
video
Microsoft Power BI - The Complete Masterclass [2023 EDITION]
Microsoft Power BI is an interactive data visualization software primarily focusing on business intelligence, part of …