Essential ASP.NET with Examples in Visual Basic.NET

Essential ASP.NET with Examples in Visual Basic.NET

5.0 1
by Fritz Onion, Ted Pattison

ISBN-10: 0201760398

ISBN-13: 9780201760392

Pub. Date: 02/14/2003

Publisher: Addison-Wesley

"This well-conceived and well-written book has extensive knowledge and priceless experience overflowing from its pages. It captures the true essence of ASP.NET and walks the reader to a high level of technical and architectural skill."
--J. Fred Maples, Director of Software Engineering,

Essential ASP.NET with

…  See more details below


"This well-conceived and well-written book has extensive knowledge and priceless experience overflowing from its pages. It captures the true essence of ASP.NET and walks the reader to a high level of technical and architectural skill."
--J. Fred Maples, Director of Software Engineering,

Essential ASP.NET with Examples in Visual Basic .NET is the Visual Basic programmer's definitive reference for ASP.NET through version 1.1. It provides experienced programmers with the information needed to fully understand the technology, and is a clear guide to using ASP.NET to build robust and well-architected Web applications.

This book begins with a discussion of the rationale behind the design of ASP.NET and an introduction to how it builds on top of the .NET framework. Subsequent chapters explore the host of new features in ASP.NET, including the server-side compilation model, code-behind classes, server-side controls, form validation, the data binding model, and custom control development. Throughout the book, working examples illustrate best practices for building Web-based applications in VB.NET.

Among the topics explored in depth are:

  • ASP.NET architecture
  • Web forms
  • Configuration
  • HTTP pipeline
  • Diagnostics and error handling
  • Validation
  • Data binding
  • Custom controls
  • Caching
  • State management
  • Security
  • Essential ASP.NET with Examples in Visual Basic .NET provides readers with the know-how needed to build more powerful, better architected Web applications with ASP.NET.


    Read More

    Product Details

    Publication date:
    Microsoft .NET Development Series
    Product dimensions:
    7.40(w) x 9.00(h) x 0.90(d)

    Table of Contents



    1. Architecture.


    ASP 4.0.

    Compilation versus Interpretation.



    Event Handling.

    Shadow Copying.


    The New Intrinsics.

    2. Web Forms.

    Server-Side Controls.



    A Day in the Life of a Page.

    Web Forms and Code-Behind.

    Root Path Reference Syntax.



    List Controls.

    WebControls versus HtmlControls.

    Building Web Forms with Visual Studio .NET.

    3. Configuration.


    Configuration Hierarchy.

    Location Element.

    Element Placement.

    Impact of Configuration Changes.

    IIS and web.config.

    Configuration Data.

    Process Model.

    Accessing Process Information.

    IIS 6.0 Process Model Changes.

    Additional Settings.

    Reading Configuration Information.

    Building a Custom Configuration Section Handler.

    Using the NameValueFileSectionHandler.

    4. HTTP Pipeline.

    A Day in the Life of a Request.

    Ten Thousand-Foot View of Request Processing.

    Inside the Pipeline.



    Application Events.

    Declarative Object Creation.

    Custom Handlers.

    Custom Handlers for File Processing.


    Handler Pooling.

    Custom Handler Factories.

    Custom Modules.

    Modules as Filters.

    Module Pooling.

    Modules versus global.asax.

    Threading in the Pipeline.

    Asynchronous Handlers.

    5. Diagnostics and Error Handling.

    Diagnostics in ASP.NET.

    Page Tracing.

    Writing Trace Messages.

    Application-Level Tracing.

    Performance Monitor Counters.


    Error Handling.

    Unhandled Exceptions.

    6. Validation.

    Form Validation.

    Client-Side Validation.

    Server-Side Validation.

    Validation Observations.

    Validation Control Architecture.

    Page Validation.

    Client-Side Validation.

    Validation Controls.

    7. Data Binding.


    Data Binding Controls.

    Binding to Database Sources.

    IDataReader Binding.

    DataSet Binding.

    DataSet versus DataReader for Data Binding.


    DataGrid Paging.

    DataGrid Sorting.

    DataGrid Editing.


    Data Binding Evaluation Syntax.


    Templated Controls.



    8. Custom Controls.


    Writing Custom Controls.

    Using Custom Controls.



    Browser Independence.


    Inner Content.

    Generating Client-Side Script.


    State Management.


    Explicit Post-Back Data Handling.

    Composite Controls.

    Creating Child Controls.

    Custom Events.

    User Controls.

    Validation and Data Binding.

    Supporting Validation.

    Data-Bound Controls.

    Implementing a Data-Bound Control.

    Designer Integration.

    Properties and Appearance.

    Type Converters.

    Property Editors.


    9. Caching.

    Caching Opportunities in ASP.NET.

    Output Caching.

    Output Caching Location.

    Caching Multiple Versions of a Page.

    Page Fragment Caching.

    Output Caching Considerations and Guidelines.

    Data Caching.

    Cache Entry Attributes.

    Cache Object Removal.

    Data Cache Considerations and Guidelines.

    10. State Management.

    Types of State.

    Application State.

    Session State.

    Session Key Management.

    Storing Session State out of Process.

    Cookie State.

    View State.

    11. Security.

    Web Security.

    Server Authentication.

    Client Authentication.

    Security in ASP.NET.

    Client Authentication and Authorization.

    Forms Authentication.

    Authentication Cookies in Web Farms.

    Optional Authentication.

    Password Storage.

    Salted Hashes.

    Role-Based Authentication.

    System Identity in ASP.NET.

    Index. 0201760398T02042003

    Read More

    Customer Reviews

    Average Review:

    Write a Review

    and post it to your social network


    Most Helpful Customer Reviews

    See all customer reviews >

    Essential ASP.NET with Examples in Visual Basic.NET 5 out of 5 based on 0 ratings. 1 reviews.
    Guest More than 1 year ago
    There are so many books out about ASP.NET it can be a very difficult task to choose one. To me there seems to be two types of books. One is the example intensive (at times over laden) book. The other is the 'how it works' type of book. The market seems to be flooded with example intensive books, but appears light in the 'how it works' type. This book is a fantastic 'how it works' book. It has good examples but is not drowning in them. The book's strength is its explanations of ASP.NET core topics, and the little tips and tricks that readers will pick up along the way. This book is well written and flows nicely. Without a doubt it is an excellent book for beginners and intermediate levels, but I would bet that even advanced users would pick up tips and tricks from the book. Summary Chapter 1: Architecture This chapter explains the basic new architecture behind ASP.NET. Compilation vs. Interpretation, Code-behind, new Page architecture, Shadow Copying, Directives, and new Intrinsic Objects (HttpRequest, HttpResponse, etc) are a few of the topics covered. Chapter 2: Web Forms This chapter is all about Web Forms. ViewState, HtmlControls, WebControls, and Events are some of the items discussed. One section I liked the best was the 'Day in the life of a page'. It explained the step by step events that occur during a page's lifetime in a very clear and concise manner. Chapter 3: Configuration This is an excellent chapter that discusses the new XML based configuration in ASP.NET. Web.Config, Machine.Config, and configuration hierarchy are examined. processModel and other elements are also discussed. Chapter 4: HTTP Pipeline This chapter goes over the HTTP Pipeline, and all the actions that take place each time a requests comes in. It goes into great coverage of how that request is routed through the architecture. It also goes over Context, Applications, Custom Handlers, and a few other related topics. This is a great chapter. Chapter 5: Diagnostics and Error Handling This chapter shows us how to get out of the classic response.write method of debugging ASP apps by examining the new diagnostic and error handling capabilities of ASP.NET. Page Tracing, Application-level Tracing, Error Handling, and Unhandled Exceptions are all discussed. Chapter 6: Validation This is a chapter that explains form validation (client and server-side), validation control architecture, and the validation controls. Chapter 7: Data Binding This chapter starts by explaining the fundamentals of binding data to controls, and then goes into IDataReader Binding, DataSet Binding, and picking when to use a DataSet vs DataReader. The chapter ends by discussing templated controls (DataGrid, Repeater, and DataList). Chapter 8: Custom Controls This is the largest chapter of the book (69 pages). This chapter covers custom control fundamentals, state management consideration when designing custom controls, composite controls, and user controls. Designer integration with VS.Net as well as validation and data binding within custom controls is also covered. This is an excellent chapter. Chapter 9: Caching This chapter discusses the new caching opportunities that exist in ASP.NET. Output caching and how it works is discussed. The VaryByParam attribute is also examined, as well as page fragment caching. The chapter also covers data caching, and consideration and guidelines for using it. Chapter 10: State Management Application state, session state, cookie state, and view state are all covered in this chapter. I think this is a great chapter because it discusses the pros and cons of each type of state, which will help developers be able to determine which type of state management would be best for their specific situation. Good discussion, with great insights. Chapter 11: Security A short chapter on security ends the book. Server and client authentication start the chapter out, and then we go into A