
Programming ASP.NET AJAX
Christian Wenz(Author)
O'Reilly (Publisher)
1st Edition
Published on 23. October 2007
Book
Paperback/Softback
473 pages
978-0-596-51424-2 (ISBN)
Description
Delivering rich, Web 2.0-style experiences has never been easier. This book gives you a complete hands-on introduction to Microsoft ASP.NET AJAX 1.0, the new framework that offers many of the same benefits for Ajax development that ASP.NET provides for server-side development. With Programming ASP.NET AJAX, you'll learn how to create professional, dynamic web pages with Ajax in no time.
Loaded with code and examples that demonstrate key aspects of the framework, this book is ideal not only for ASP.NET developers who want to take their applications a step further with Ajax, but for any web developers interested in ASP.NET AJAX, no matter what technology they use currently. That includes JavaScript programmers who would like to avoid the headaches of writing cross-browser code.
Programming ASP.NET AJAX offers you:
* A high-level overview of the ASP.NET AJAX framework
* Functional code that you can cut and paste for use in your own applications
* The essentials of JavaScript and Ajax to help you understand individual technologies used by the framework
* An organization that reflects the framework's packages, including Extensions, Control Toolkit, the Futures CTP, and the AJAX Library
* Sidebars throughout the book that identify and propose solutions to potential security breaches
* Ways to use the standards-based AJAX Library with other platforms, such as PHP
* A complete chapter on the UpdatePanel control for making individual parts of a web page independently updateable -- one of the framework's most important elements
Released previously as Programming Atlas to cover the beta version of the Microsoft framework, this edition is fully up-to-date and expanded for the official 1.0 release of ASP.NET AJAX. Written by Christian Wenz -- Microsoft MVP for ASP/ASP.NET and AJAX Control Toolkit Contributor -- Programming ASP.NET AJAX contains many hard-to-find details, along with a few unofficial ways to accomplish things.
Loaded with code and examples that demonstrate key aspects of the framework, this book is ideal not only for ASP.NET developers who want to take their applications a step further with Ajax, but for any web developers interested in ASP.NET AJAX, no matter what technology they use currently. That includes JavaScript programmers who would like to avoid the headaches of writing cross-browser code.
Programming ASP.NET AJAX offers you:
* A high-level overview of the ASP.NET AJAX framework
* Functional code that you can cut and paste for use in your own applications
* The essentials of JavaScript and Ajax to help you understand individual technologies used by the framework
* An organization that reflects the framework's packages, including Extensions, Control Toolkit, the Futures CTP, and the AJAX Library
* Sidebars throughout the book that identify and propose solutions to potential security breaches
* Ways to use the standards-based AJAX Library with other platforms, such as PHP
* A complete chapter on the UpdatePanel control for making individual parts of a web page independently updateable -- one of the framework's most important elements
Released previously as Programming Atlas to cover the beta version of the Microsoft framework, this edition is fully up-to-date and expanded for the official 1.0 release of ASP.NET AJAX. Written by Christian Wenz -- Microsoft MVP for ASP/ASP.NET and AJAX Control Toolkit Contributor -- Programming ASP.NET AJAX contains many hard-to-find details, along with a few unofficial ways to accomplish things.
More details
Language
English
Place of publication
Sebastopol
United States
Target group
Professional and scholarly
Dimensions
Height: 390 mm
Width: 110 mm
Thickness: 185 mm
ISBN-13
978-0-596-51424-2 (9780596514242)
Schweitzer Classification
Other editions
Additional editions

E-Book
09/2007
1st Edition
O'Reilly
€26.49
Available for download

Christian Wenz
Programming ASP.NET AJAX
E-Book
09/2007
1st Edition
O'Reilly
€33.99
Available for download
Content
Inhaltsverzeichnis
Preface
Part I. Basics
1. ASP.NET AJAX, Ajax, and ASP.NET
ASP.NET AJAX and Ajax
ASP.NET AJAX and ASP.NET
ASP.NET AJAX Prerequisites and Installation
ASP.NET AJAX Structure and Architecture
A First ASP.NET AJAX Example: Hello User
The ScriptManager Control
Summary
For Further Reading
2. JavaScript
The JavaScript Language
Object-Oriented Programming (OOP)
Accessing Page Elements
DOM Methods
Summary
For Further Reading
3. Ajax
The XMLHttpRequest Object
The XMLDocument Object
JSON
Summary
For Further Reading
Part II. ASP.NET AJAX Extensions
4. Using ASP.NET AJAX JavaScript Extensions
ASP.NET AJAX Shortcuts and Helper Functions
Extensions to Existing JavaScript Objects
ASP.NET AJAX OOP Features for JavaScript
Client Versions of.NET Classes
Summary
For Further Reading
5. Web Services
Error Handling
Page Methods
Maintaining Session State
Exchanging Complex Data with the Server
Consuming Web Services with JavaScript
Summary
For Further Reading
6. UpdatePanel: Refreshing Only Parts of a Page
Making a Page Region Updatable
Summary
For Further Reading
7. Using the ASP.NET AJAX Profile Service
Preparing the Web Site
Accessing Profile Data
Accessing Profile Group Data
Summary
For Further Reading
8. Using the ASP.NET AJAX Authentication Service
Preparing the Application
Login and Logout
Summary
For Further Reading
9. Localizing and Globalizing Applications
Localization
Globalization and Internationalization
Summary
For Further Reading
Part III. ASP.NET AJAX Control Toolkit
10. Using the Control Toolkit
Installing the Control Toolkit
Using the Control Toolkit
Summary
For Further Reading
11. Adding Animation to a Web Page
Animation Framework
Drag-and-Drop
Summary
For Further Reading
12. Autocompleting User Input, Fighting Spam, and More
Creating an Accordion Pane
Maintaining the Relative Position of an Element
Adding Autocomplete Behavior to a TextBox Control
Attaching a Calendar to a Text Field
Dynamically Collapsing a Single Panel
Displaying a Pop Up Over a Page
Fighting Spam in Blogs and in Other Entry Forms
Creating a Tabbed Interface
Summary
For Further Reading
13. Writing Custom Controls and Contributing to the Community
Writing Custom ASP.NET AJAX Controls
Contributing to the Control Toolkit
Summary
For Further Reading
Part IV. ASP.NET AJAX Futures
14. Client Controls
Introducing ASP.NET AJAX Client Controls
Using ASP.NET AJAX Controls
Handling Control Events
Summary
For Further Reading
15. Binding and Validating Data
Data Binding
Data Validation
Summary
For Further Reading
16. Using Behaviors and Components
Using Behaviors
Using Components
Summary
For Further Reading
17. Using Server Data
Using a ListView Control
Creating a Custom Data Source
Summary
For Further Reading
18. Using Remote Web Services
Using the Google Web Service
Using the Amazon Web Service
Transforming a Web Service Result with XSLT
Using the Yahoo! Web Service (and REST and XPath)
Summary
For Further Reading
19. Using Animations
Using Animations
Using an Animation to Create a Fade Effect
Summary
For Further Reading
20. Fixing Bookmarks and Back/Forward Buttons
Fixing with Code
Fixing Bookmarks and Back/Forward Buttons with Controls Using UpdateHistory
Fixing Bookmarks and Back/Forward Buttons with Controls Using the ASP.NET AJAX Futures
Summary
For Further Reading
21. Web Parts
Using ASP.NET AJAX with ASP.NET Web Parts
Summary
For Further Reading
Part V. Microsoft AJAX Library
22. Using ASP.NET AJAX with Other Server Technologies
Using ASP.NET AJAX with PHP
Summary
For Further Reading
Part VI. Appendixes
A. Debugging ASP.NET AJAX Applications
B. XMLHttpRequest Reference
C. DOM Reference
D. ASP.NET AJAX Reference
E. ScriptManager, UpdatePanel, UpdateProgress, and Timer Declarative Reference
Index
Preface
Part I. Basics
1. ASP.NET AJAX, Ajax, and ASP.NET
ASP.NET AJAX and Ajax
ASP.NET AJAX and ASP.NET
ASP.NET AJAX Prerequisites and Installation
ASP.NET AJAX Structure and Architecture
A First ASP.NET AJAX Example: Hello User
The ScriptManager Control
Summary
For Further Reading
2. JavaScript
The JavaScript Language
Object-Oriented Programming (OOP)
Accessing Page Elements
DOM Methods
Summary
For Further Reading
3. Ajax
The XMLHttpRequest Object
The XMLDocument Object
JSON
Summary
For Further Reading
Part II. ASP.NET AJAX Extensions
4. Using ASP.NET AJAX JavaScript Extensions
ASP.NET AJAX Shortcuts and Helper Functions
Extensions to Existing JavaScript Objects
ASP.NET AJAX OOP Features for JavaScript
Client Versions of.NET Classes
Summary
For Further Reading
5. Web Services
Error Handling
Page Methods
Maintaining Session State
Exchanging Complex Data with the Server
Consuming Web Services with JavaScript
Summary
For Further Reading
6. UpdatePanel: Refreshing Only Parts of a Page
Making a Page Region Updatable
Summary
For Further Reading
7. Using the ASP.NET AJAX Profile Service
Preparing the Web Site
Accessing Profile Data
Accessing Profile Group Data
Summary
For Further Reading
8. Using the ASP.NET AJAX Authentication Service
Preparing the Application
Login and Logout
Summary
For Further Reading
9. Localizing and Globalizing Applications
Localization
Globalization and Internationalization
Summary
For Further Reading
Part III. ASP.NET AJAX Control Toolkit
10. Using the Control Toolkit
Installing the Control Toolkit
Using the Control Toolkit
Summary
For Further Reading
11. Adding Animation to a Web Page
Animation Framework
Drag-and-Drop
Summary
For Further Reading
12. Autocompleting User Input, Fighting Spam, and More
Creating an Accordion Pane
Maintaining the Relative Position of an Element
Adding Autocomplete Behavior to a TextBox Control
Attaching a Calendar to a Text Field
Dynamically Collapsing a Single Panel
Displaying a Pop Up Over a Page
Fighting Spam in Blogs and in Other Entry Forms
Creating a Tabbed Interface
Summary
For Further Reading
13. Writing Custom Controls and Contributing to the Community
Writing Custom ASP.NET AJAX Controls
Contributing to the Control Toolkit
Summary
For Further Reading
Part IV. ASP.NET AJAX Futures
14. Client Controls
Introducing ASP.NET AJAX Client Controls
Using ASP.NET AJAX Controls
Handling Control Events
Summary
For Further Reading
15. Binding and Validating Data
Data Binding
Data Validation
Summary
For Further Reading
16. Using Behaviors and Components
Using Behaviors
Using Components
Summary
For Further Reading
17. Using Server Data
Using a ListView Control
Creating a Custom Data Source
Summary
For Further Reading
18. Using Remote Web Services
Using the Google Web Service
Using the Amazon Web Service
Transforming a Web Service Result with XSLT
Using the Yahoo! Web Service (and REST and XPath)
Summary
For Further Reading
19. Using Animations
Using Animations
Using an Animation to Create a Fade Effect
Summary
For Further Reading
20. Fixing Bookmarks and Back/Forward Buttons
Fixing with Code
Fixing Bookmarks and Back/Forward Buttons with Controls Using UpdateHistory
Fixing Bookmarks and Back/Forward Buttons with Controls Using the ASP.NET AJAX Futures
Summary
For Further Reading
21. Web Parts
Using ASP.NET AJAX with ASP.NET Web Parts
Summary
For Further Reading
Part V. Microsoft AJAX Library
22. Using ASP.NET AJAX with Other Server Technologies
Using ASP.NET AJAX with PHP
Summary
For Further Reading
Part VI. Appendixes
A. Debugging ASP.NET AJAX Applications
B. XMLHttpRequest Reference
C. DOM Reference
D. ASP.NET AJAX Reference
E. ScriptManager, UpdatePanel, UpdateProgress, and Timer Declarative Reference
Index