|
||||||||
Chapter 1, "The ASP.NET 2.0 Framework," follows a request from the time it arrives in IIS all the way through the ASP.NET request processing architecture to give you the big picture of the ASP.NET 2.0 Framework. It then discusses why you need to develop custom controls and components.Chapter 2, "Developing Simple Custom Controls and User Controls," develops a simple custom control, annotates it with design-time attributes, deploys it, adds it to the Visual Studio Toolbox, and uses it in a Web page. Then, it implements a simple user control, adds properties and methods to it, and uses it in a Web page. Chapter 3, "Developing Custom-Styled Controls," discusses the methods and properties of the WebControl base class in detail and derives from this base class to implement a custom control. Next, it implements a custom Style class and a custom control that uses it. Chapter 4, "Developing Custom Controls That Raise Events," defines what an event is, discusses the .NET event design pattern in detail, and uses the pattern to implement an event. Chapter 5, "Developing Custom Composite Controls," defines what a composite control is, provides you with a detailed step-by-step recipe for developing custom composite controls, and uses the recipe to implement a custom composite control. Chapter 6, "Developing Custom Templated Controls," defines what a templated control is, implements a custom templated control, shows you how to write a templated control that supports data-binding expressions, and finally looks under the hood of templates where you learn how to create templates programmatically. Chapter 7, "Developing Custom Controls with Complex Properties," implements a custom composite control that exposes complex properties such as style properties, and presents two different approaches to managing the state of complex properties across page postbacks: implementing the IStateManager and implementing a custom type converter. Chapter 8, "ASP.NET Request Processing Architecture," first discusses the ASP.NET requesting processing architecture in detail. It provides you with step-by-step recipes to develop custom HTTP modules, HTTP handler factories, HTTP handlers, and control builders. Chapter 9, "Data Binding," discusses the basic concepts and principles of ASP.NET data binding and implements a custom data-bound control. Chapter 10, "XMLWeb Services," begins by showing you how to develop and consume an ASP.NET XMLWeb service. Then, it takes you under the hood of the ASP.NET XML Web service infrastructure and develops a custom component that enables your components to programmatically download the WSDL document, generate the code for proxy class, and compile the code to an assembly. Chapter 11, "Implementing Schema Importer Extensions and ISerializable Interface," shows you how to implement ISerializable and a custom schema importer extension to customize the code for the proxy class. It then shows you how to use these techniques to dramatically improve the performance of XMLWeb services that send huge amounts of data. Chapter 12, "Understanding the ASP.NET 2.0 Tabular Data Source Control Model," looks under the hood of the main components of the ASP.NET 2.0 tabular data source control model, that is, IDataSource, DataSourceControl, and DataSourceView, and implements a fully functional replica of the ASP.NET 2.0 SqlDataSource control to make the discussions of the chapter more concrete. Chapter 13, "The ASP.NET 2.0 Data Source Control Parameter Model," discusses parameters, components that enable tabular data source controls such as SqlDataSource to get the value of the parameters such as those used in a SQL statement or stored procedure from any type of source. Chapter 14, "Developing ASP.NET 2.0 Custom Tabular Data Source Controls," implements a custom tabular data source control named XmlWebServiceDataSource to show you how to implement your own custom tabular data source controls to access your favorite data store. The XmlWebServiceDataSource control allows its clients to access an XMLWeb service. Chapter 15, "Understanding the ASP.NET 2.0 Hierarchical Data Source Control Model," implements replicas of the main components of the ASP.NET 2.0 hierarchical data source control model, that is, IHierarchicalDataSource, HierarchicalDataSourceControl, IHierarchyData, IHierarchicalEnumerable, and HierarchicalDataSourceView to help you understand the model from the inside out. Chapter 16, "Developing ASP.NET 2.0 Custom Hierarchical Data Source Controls," implements a custom hierarchical data source control named CustomSqlDataSource that extends the functionality of the SqlDataSource control to provide hierarchical data-bound controls such as TreeView with hierarchical views of the underlying database table. Chapter 17, "Understanding the ASP.NET 2.0 Tabular Data-Bound Control Model," implements fully functional replicas of the main components of the ASP.NET 2.0 tabular data-bound control model, that is, the BaseDataBoundControl, DataBoundControl, and CompositeDataBound Control base classes to help you understand them better. Chapter 18, "The ASP.NET 2.0 Data Control Field Model," covers data control fields, which are components that enable tabular data-bound controls such as GridView to provide end users with the appropriate user interface for viewing and editing any type of database field. Download free ebook for asp: ASP.NET 2.0 Server Control And Component Development
|
| More free ebooks | |
Free programing ebooks
Chapter 1, "The ASP.NET 2.0 Framework," follows a request from the time it arrives in IIS all the way through the ASP.NET request processing architecture to give you the big picture of the ASP.NET 2.0 Framework. It then discusses why you need to develop custom controls and components.