Developing Microsoft® ASP.NET server controls and components
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...
Autor principal: | |
---|---|
Otros Autores: | |
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Sebastopol :
Microsoft Press
2002.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627918806719 |
Tabla de Contenidos:
- Cover; Copyright page; Dedications; Contents at a Glance; Table of Contents; Foreword; Acknowledgments; Introduction; Prerequisites; Structure of the Book; Sample Files; Software Needed to Run the Samples; Creating an IIS Virtual Directory; Tools for Control Authoring and Related Tasks; Tools in the .NET Framework SDK; FxCop Tool for Checking Compliance with Design Guidelines; Other Resources; Support; Part I: Overview; Chapter 1: ASP.NET Overview; The .NET Framework; The Common Language Runtime; The .NET Framework Class Library; A Quick Tour of ASP.NET
- HTTP Runtime-Request Processing in an ASP.NET ApplicationExtending ASP.NET; Summary; Chapter 2: Page Programming Model; A Sample Page; Server Controls; ASP.NET Server Control Hierarchy; ASP.NET Web Controls; Why Write Server Controls?; From Text to Controls; Code Model; Page Execution Model; ASP.NET Pages in a Visual Designer; Summary; Chapter 3: Component Programming Overview; Managed Component Overview; Properties; The Property Construct; Naming Guidelines for Properties; Advantages of Properties; Methods; Implementing Methods Instead of Properties
- Naming Guidelines for Methods and Method ParametersEvents; Delegates; Event Delegates; Raising an Event; Event Sample; Metadata Attributes; Applying Attributes; Designable Components; Controls; Summary; Part II: Server Controls-First Steps; Chapter 4: User Controls: From Page to Control; Converting a Page to a User Control; Accessing a User Control from a Page; Reusable User Controls: The SiteHeader and SiteFooter Examples; The User Control Model; User Controls in Visual Studio .NET; Deploying a User Control; An Application-Specific User Control: The CruiseSelector Example
- Relative URLs in User ControlsProgrammatically Instantiating a User Control; Caching a User Control; VaryByControl Example; How User Control Caching Works; Summary; Chapter 5: Developing a Simple Custom Control; Server Control Overview; A Trivial Server Control Example; Compiling and Deploying a Server Control; Using a Custom Control on a Page; Exposing a Property: The PrimeGenerator Control Example; Deriving from WebControl; Test Page for the PrimeGenerator Control; Choosing the Base Class for Your Control; Applying Design-Time Attributes; Applying TagPrefixAttribute
- Custom Controls in Visual Studio .NETAdding a Custom Control to the Toolbox; Using Custom Controls from the Toolbox; Customizing the Toolbox Icon; Debugging a Server Control; Summary; Chapter 6: Custom Controls vs. User Controls; Deployment; Authoring; Content and Layout; Design-Time Behavior; Performance; Summary; Part III: Server Controls-Nuts and Bolts; Chapter 7: Simple Properties and View State; View State and State Management; Using ViewState as the Property Store-The ViewStateDemoLabel Example; More About View State; Declarative Persistence of Simple Properties
- Declarative Syntax for Enumeration Properties