Synopses & Reviews
"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, NASDAQ.com
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.
0201760398B12042002
Synopsis
This book will provide the definitive resource for ASP.NET developers working in Visual Basic .NET, not just to the features of ASP.NET but also how to use them best. Fritz Onion looks at working examples of how Web applications are built today, and then looks at what ASP.NET offers to simplify constructing Web applications of this type. In addition to explaining how to use ASP.NET and examining why it is built the way it is, Onion also explores implementation tools not covered in any other books. He helps the reader acquire a broader understanding of the technology and how it fits in with other tools. From his experience teaching ASP.NET to working developers, Onion knows what information they need, what questions they have, and how to organize and present the material in the best way possible. As Justin Burtch, a Software Engineer at Integrated Data Systems expressed it, "This book does not try to be everything to everyone. As a result, it is able to provide both breadth and depth on the subject. Essential ASP.NET is positioned to become the seminal book on the most important advancement to web development in years."
About the Author
Fritz Onion is a member of the technical staff at DevelopMentor where he teaches courses in .NET and oversees the ASP.NET curriculum. He is a former columnist for
C++ Report, and currently writes articles for various publications including
MSDN Magazine. He speaks regularly at industry conferences and was the cochair of the Web development track at Win-Dev's Fall Developers Summit 2002. Fritz received his B.A. from Harvard University and his M.S. from the University of California, Irvine.
0201760398AB11072002
Table of Contents
Foreword.
Preface.
1. Architecture.
Fundamentals.
ASP 4.0.
Compilation versus Interpretation.
System.Web.UI.Page.
Code-Behind.
Event Handling.
Shadow Copying.
Directives.
The New Intrinsics.
2. Web Forms.
Server-Side Controls.
ViewState.
Events.
A Day in the Life of a Page.
Web Forms and Code-Behind.
Root Path Reference Syntax.
HtmlControls.
WebControls.
List Controls.
WebControls versus HtmlControls.
Building Web Forms with Visual Studio .NET.
3. Configuration.
web.config.
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.
Context.
Applications.
Application Events.
Declarative Object Creation.
Custom Handlers.
Custom Handlers for File Processing.
.ashx.
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.
Debugging.
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.
Fundamentals.
Data Binding Controls.
Binding to Database Sources.
IDataReader Binding.
DataSet Binding.
DataSet versus DataReader for Data Binding.
DataGrid.
DataGrid Paging.
DataGrid Sorting.
DataGrid Editing.
Templates.
Data Binding Evaluation Syntax.
DataBinder.
Templated Controls.
Repeater.
DataList.
8. Custom Controls.
Fundamentals.
Writing Custom Controls.
Using Custom Controls.
System.Web.UI.Control.
HtmlTextWriter.
Browser Independence.
Subproperties.
Inner Content.
Generating Client-Side Script.
System.Web.UI.WebControls.WebControl.
State Management.
ViewState.
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.
Designers.
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