Skip to main content

Professional ASP.NET 2.0 Server Control and Component Development

Professional ASP.NET 2.0 Server Control and Component Development

Shahram Khosravi

ISBN: 978-0-470-07973-7

Oct 2006

1186 pages

Select type: E-Book

Product not available for purchase

Description

The ASP.NET 2.0 Framework introduced web developers to dozens of new server controls and components, and a greatly expanded and easier structure for writing their own server controls and components. Professional ASP.NET 2.0 Server Control and Component Development covers the breadth of server control functionality as well as the rest of the membership, role management, SchemaImporterExtension, and so on – the functionality referred to as components. Written for the experienced ASP.NET developer, Professional ASP.NET 2.0 Server Control and Component Development will show you how to write your first sever control or custom component.

The step-by-step coverage drills down to the details of the extensible part of the ASP.NET 2.0 Framework that you need to extend to write the specified type of custom control or component. Rather than present the extensible part as a black box, it presents a detailed step-by-step approach to implement functional replica of the extensible part, discusses the replica’s code in detail, and provides an in-depth coverage of the techniques, tools, and technologies used in the code. From there you get a detailed practical recipe for developing the specified type of custom control or component and book then uses the recipe to implement one or more real-world custom controls or components of the specified type that you can use in your own Web applications.

Some of the many types of controls and components you'll learn to build are:

  • Ajax-enabled controls and components: four chapters on Ajax discuss and use Ajax patterns, ASP.NET 2.0 client callback mechanism, CSS, DOM, XML, and JavaScript to implement a number of Ajax-enabled controls and components.
  • Web Parts: four chapters on Web Parts in ASP.NET 2.0 develop a number of custom WebPart, EditorPart, CatalogPart, WebPartZone, WebPartChrome, WebPartVerb, WebPartManager, and data-bound WebPart controls.
  • 5 chapters on ASP.NET 2.0 security, membership, and role management components
  • 5 chapters on ASP.NET 2.0 tabular and hierarchical data source controls and custom Parameter components
  • 4 chapters on ASP.NET 2.0 tabular data-bound controls and data control fields
  • Developing controls and components that can access any type of data store and automate all their data operations such as Delete, Update, Insert, and Sort.
  • XML Web service, WSDL, Google XML Web service API, SchemaImporterExtension, ISerializable, and CodeDom
  • XmlReader, XmlWriter, XPathNavigator, DOM, and XmlResolver
  • Provider-Based Services including how to implement a RSS service provider that can feed RSS from any type of data store such as SQL Server, file system, Web services, and so on
  • HTTP modules, HTTP handler factories, HTTP handlers, and control builders including developing an HTTP module and an HTTP handler factory that perform URL rewriting and an HTTP handler that generates RSS feeds
  • User controls and composite and templated custom controls
  • State management and custom type converters.
  • Events, IPostBackEventHandler, IPostBackDataHandler, and Page lifecycle

This book is also available as part of the 5-book ASP.NET 2.0 Wrox Box (ISBN: 0-470-11757-5). This 5-book set includes:

  • Professional ASP.NET 2.0 Special Edition (ISBN: 0-470-04178-1)
  • ASP.NET 2.0 Website Programming: Problem - Design - Solution (ISBN: 0764584642 )
  • Professional ASP.NET 2.0 Security, Membership, and Role Management (ISBN: 0764596985)
  • Professional ASP.NET 2.0 Server Control and Component Development (ISBN: 0471793507)
  • ASP.NET 2.0 MVP Hacks and Tips (ISBN: 0764597663)
  • CD-ROM with more than 1000 pages of bonus chapters from 15 other .NET 2.0 and SQL Server(TM) 2005 Wrox books
  • DVD with 180-day trial version of Microsoft(r) Visual Studio(r) 2005 Professional Edition
Acknowledgments.

Introduction.

Chapter 1: The ASP.NET 2.0 Framework.

Chapter 2: Developing Simple Custom Controls and User Controls.

Chapter 3: Developing Custom-Styled Controls.

Chapter 4: Developing Custom Controls That Raise Events.

Chapter 5: Developing Custom Composite Controls.

Chapter 6: Developing Custom Templated Controls.

Chapter 7: Developing Custom Controls with Complex Properties.

Chapter 8: ASP.NET Request Processing Architecture.

Chapter 9: Data Binding.

Chapter 10: XML Web Services.

Chapter 11: Implementing Schema Importer Extensions and ISerializable Interface.

Chapter 12: Understanding the ASP.NET 2.0 Tabular Data Source Control Model.

Chapter 13: The ASP.NET 2.0 Data Source Control Parameter Model.

Chapter 14: Developing ASP.NET 2.0 Custom Tabular Data Source Controls.

Chapter 15: Understanding the ASP.NET 2.0 Hierarchical Data Source Control Model.

Chapter 16: Developing ASP.NET 2.0 Custom Hierarchical Data Source Controls.

Chapter 17: Understanding the ASP.NET 2.0 Tabular Data-Bound Control Model.

Chapter 18: The ASP.NET 2.0 Data Control Field Model.

Chapter 19: Developing ASP.NET 2.0 Custom Tabular Data-Bound Controls.

Chapter 20: Why You Need the ASP.NET 2.0 Membership/Role Model.

Chapter 21: Understanding the ASP.NET 2.0 Membership Model.

Chapter 22: Developing Custom MembershipProvider and MembershipUser Components.

Chapter 23: Understanding the ASP.NET Role Management Model.

Chapter 24: Developing Custom Role Providers, Modules, and Principals.

Chapter 25: Developing Custom Provider-Based Services.

Chapter 26: Developing Ajax-Enabled Controls and Components: Client-Side Functionality.

Chapter 27: Developing Ajax-Enabled Controls and Components: Asynchronous Client Callback.

Chapter 28: Developing Ajax-Enabled Controls and Components: Ajax Patterns.

Chapter 29: Developing Ajax-Enabled Controls and Components: More Ajax Patterns.

Chapter 30: Understanding the ASP.NET 2.0 Web Parts Framework.

Chapter 31: Developing Custom WebPart, EditorPart, and CatalogPart Controls.

Chapter 32: Developing Custom WebPartZoneBase Controls.

Chapter 33: WebPartManager, Web Parts Connections, and Data-Bound WebPart Controls.

Download Code for Chapter 02
Code downloads for this title are available here.
Download Code for Chapter 02
Code downloads for this title are available here.
Download Code for Chapter 02
Code downloads for this title are available here.
Download
Download Code for Chapter 02
Code downloads for this title are available here.
Download
Download Code for All Chapters
The complete book code (all of the individual chapter code zip files below) collected in one zip file.
Download
Download Code for Chapter 03
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 04
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 05
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 06
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 07
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 08
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 09
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 10
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 11
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 12
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 13
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 14
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 15
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 16
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 17
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 18
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 19
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 20
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 21
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 22
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 24
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 25
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 26
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 27
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 28
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 29
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 30
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 31
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 32
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
Download Code for Chapter 33
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Download
ChapterPageDetailsDatePrint Run
15Error in Text
Page 15, listing at top of page:

Lines 6, 8, 9, 10, 12, 13:
Text reads:
day

Should read:
month

This holds in all places where day appears (8 total occurrences to correct).
09/12/2006

29Error in Figures
Page 29:
The screens for figures 2-3 and 2-4 are reversed and should be swapped.
09/12/2006

77Error in Code
step 4. at bottom of page, first line of code:
protected virtual void RaisePostDataChangedEvent()

Should read:
void IPostBackDataHandler.RaisePostDataChangedEvent()
03/17/08

106Error in Text/Listing
Page 106, Heading for listing 5-13 should be:

Listing 5-13: The AddContainer method
09/22/2006

9220Error in Code
6th line of code at bottom of page :
Int numOfRows = [(int)ViewState[“RowCount”];

should be:
Int numOfRows = (int)ViewState[“RowCount”];
10/11/07