Synopses & Reviews
Praise for Essential ASP.NET with Examples in C# “Essential ASP.NET with Examples in C# is so good that its the only ASP.NET book on my working bookshelf.” —LARRY OBRIEN, .NET Watch columnist, SD Times
“Essential ASP.NET is positioned to become the seminal book on the most important advancement to Web development in years.” —JUSTIN BURTCH, software engineer
“Fritzs explanations are clear and concise without being patronizing; his examples are succinct without being trivial. I can now say that after reading Fritzs book, and trying a few things out, I feel that I ‘know ASP.NET. Reading his book has been a very helpful experience.” —RICHARD GRIMES, .NET author and consultant
“Like many of the teachers who have worked with DevelopMentor, Fritz has a great ability to make complex concepts very easy to understand. The explanations go deep enough that Ive had several ‘a ha moments while finally understanding how some features really worked.” —SCOTT SEELY, Microsoft Corporation
“This is an excellent book! It has a straightforward style and is comprehensive.” —DARYL RICHTER, software architect
“This book greatly improves the understanding of ASP.NET. The text is concise and examples are well written. The signal-to-noise ratio of this book is very high. I am sure it will be a great value to its readers.” —AMIT KALANI, software programmer/analyst
“Fritz Onions Essential ASP.NET is one of the best ASP.NET books I have read.” —JAMES EDELEN, Microsoft MVP
“It is deep enough that everyone is assured of learning something, no matter how experienced you may already be.” —PAUL WILSON, Software Architect, WilsonDotNet.com
“The book is a winner, and a must-have for experienced developers who want to augment their knowledge of ASP.NET by being aware of what goes on under the hood.” —JASON SALAS, MBA, MCP, and Web Development Manager for Pacific Telestations, Inc.
“If you are looking for an ASP.NET book that can help take you to the next level, Essential ASP.NET with Examples in C# is your first class ticket.” —ROBBE MORRIS, Senior Software Engineer, EggHeadCafe.com
"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 C# is the C# 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 C#.
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 C# provides readers with the know-how needed to build more powerful, better architected Web applications with ASP.NET.
Synopsis
With coverage not found in other titles and endorsed by the architects of ASP.NET, this book is essential for any serious ASP.NET developer
Synopsis
"No one knows ASP.NET like Fritz Onion. And no one knows .NET security like Keith Brown. Combine the two and what do you get? The most comprehensive and enlightening book on ASP.NET 2.0 industrywide. I'm sure you'll find the book you're holding was worth every penny."--Aaron Skonnard, member of technical staff and cofounder, Pluralsight
"Essential ASP.NET 2.0 gets under the hood and dismantles the engine before your eyes. Fritz and Keith understand that we as developers need to understand how it works and this book does exactly that. Their explanation of the ASP.NET 2.0 page event sequence is worth the price of the book alone."
--Shawn Wildermuth, Microsoft MVP (C#), "The ADO Guy"
"Essential ASP.NET 2.0 is an incredibly useful must-read for any developer.Many books drag you through theory and mindless detail, but this one actually sets up the problems you may encounter with ASP.NET 2.0 and rolls out the alternatives."
--Patrick Hynds, Microsoft Regional Director and President, CriticalSites
"This book is essential for any ASP.NET developer moving from version 1.x to 2.0. Onion and Brown not only cover the new features, but provide a wealth of insight and detail about how to use them effectively."
--Ron Petrusha, author of Visual Basic 2005: The Complete Reference
"Drawing on their deep technical knowledge and real-world experience, Fritz and Keith take the reader into some of the less explored and much improved areas of ASP.NET such as diagnostics and state management and performance. Readers will turn to this book over and over again."
--John Timney, Microsoft MVP, Senior Web Services Consultant,British Telecom
"Fritz and Keith, both established developers and writers in our industry, have succeeded again--enlightening us on the latest advancements found in ASP.NET 2.0. If you're new to ASP.NET or a seasoned veteran, you'll benefit tremendously from their overview, analysis, and sample code."
--Joe "MSJoe" Flanigen
"This book seeks not only to explain how to effectively build Web sites with ASP.NET, it also gives the reader an idea of how the process works. This insight is essential to creating applications that work with the infrastructure rather than fighting it."
--Justin Burtch, Vice President, Newbrook Solutions
Essential ASP.NET 2.0 is the Microsoft developer's definitive reference for ASP.NET 2.0 programming. It covers all you need to know to build robust, well-designed Web applications with ASP.NET 2.0, Visual Studio 2005, and .NET 2.0. ASP.NET MVP Fritz Onion and Developer Security MVP Keith Brown draw on their unparalleled experience working with ASP.NET 2.0 and teaching it to professional developers. From data binding to security, UIs to performance, they demystify ASP.NET 2.0's most difficult areas, and introduce little-known techniques for leveraging it to the fullest.
The perfect companion to his previous classic, Essential ASP.NET with Examples in C#, Essential ASP.NET 2.0 offers hundreds of new C# examples that illuminate today's best Web development practices. (Both C# and VB 2005 versions of all code examples can be downloaded from the companion Web site.)
Topics explored in-depth include:
- Application architecture
- Code behind
- Master pages
- Themes and skins
- Navigation controls
- Data binding
- State management
- Security
- Web Parts
- Diagnostics
- Performance optimization
- Asynchronous tasks and pages
Simply put, if you want to design and build better ASP.NET 2.0 Web applications, Essential ASP.NET 2.0 delivers everything you need: insider's knowledge, proven best practices, and outstanding code samples.
About the Author
Fritz Onion is cofounder of Microsoft .NET training provider Pluralsight, and author of Pluralsight's ASP.NET curriculum. He teaches ASP.NET development worldwide. The author of the highly acclaimed
Essential ASP.NET with Examples in C# (Addison-Wesley), Onion is a columnist for
MSDN Magazine, and a regular speaker at TechEd, VSLive!, and PDC.
Keith Brown is cofounder of Pluralsight and contributing editor for MSDN Magazine. He is the author of Programming Windows Security and The .NET Developer's Guide to Windows Security, both from Addison-Wesley.
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. 0201760401T02042003