Microsoft AJAX Library Essentials: Client-side ASP.NET AJAX 1.0 Explained

A practical tutorial to enhancing the user experience of your ASP.NET web applications with the final release of the Microsoft AJAX Library

Microsoft AJAX Library Essentials: Client-side ASP.NET AJAX 1.0 Explained

Starting
Bogdan Brinzarea, Cristian Darie

A practical tutorial to enhancing the user experience of your ASP.NET web applications with the final release of the Microsoft AJAX Library
$10.00
$32.00
RRP $23.99
RRP $39.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

+ Collection
Free Sample

Book Details

ISBN 139781847190987
Paperback300 pages

About This Book

  • A rapid and practical guide to including AJAX features in your .NET applications
  • Learn practical development strategies and techniques
  • Go through a case study that demonstrates the theory you learned throughout the book.

Who This Book Is For

This book has been written for ASP.NET developers entering the world of the ASP.NET AJAX Framework, and for existing ASP.NET AJAX developers looking for a more detailed tutorial on the client-side of the framework: the Microsoft AJAX Library.

Microsoft AJAX Library Essentials

 

Table of Contents

Chapter 1: AJAX and ASP.NET
The Big Picture
Building Websites Since 1990
The World of AJAX
Setting Up Your Environment
Hello World!
Summary
Chapter 2: AJAX Foundations
JavaScript and the Document Object Model
JavaScript Events and the DOM
Even More DOM
JavaScript, DOM, and CSS
The XMLHttpRequest Object
Summary
Chapter 3: Object-Oriented JavaScript
Concepts of Object-Oriented Programming
Object-Oriented JavaScript
Introducing JSON
Summary
Chapter 4: Introducing the Microsoft AJAX Library
Microsoft AJAX Library Components
Asynchronous Communication
Working with WebRequest
More WebRequests
Summary
Chapter 5: OOP with the Microsoft AJAX Library
The New Features
JavaScript Base Classes Extensions
Classes in Microsoft AJAX Library
Summary
Chapter 6: Creating Client Components
DOM Elements and Events
Components, Behaviors, and Controls
Summary
Chapter 7: Case Study: Timer and EnhancedTextBox
The Timer Component
The EnhancedTextBox Behavior
Creating Timer and EnhancedTextBox
Using the Components
Summary
Chapter 8: Debugging Tools and Techniques
AJAX Debugging Overview
Debugging and Tracing with Microsoft AJAX Library
Debugging in Internet Explorer
Debugging in Firefox
Fiddler
Testing
Summary

What You Will Learn

This book teaches you, through step-by-step exercises, the following essential topics:

  • How to create basic AJAX applications using JavaScript, CSS, DOM, and the XMLHttpRequest object. 
  • Understand the object-oriented model of JavaScript.
  • Learn what the Microsoft AJAX Library is made of.
  • Understand how the Microsoft AJAX Library extends the object-oriented capabilities of JavaScript by adding support for namespaces, interfaces, events, properties, and an improved set of base classes. 
  • Implement JavaScript classes and interfaces based on Visual Studio class diagrams
  • Create client components, controls and behaviors, by extending existing elements of the page, registering events, and utilizing the page life cycle. 
  • Go through a case study that demonstrates the theory you learned throughout the book.

In Detail

Microsoft AJAX Library Essentials is a practical reference for the client-side library of the ASP.NET AJAX Framework 1.0, and a tutorial for the underlying technologies and techniques required to use the library at its full potential. The main goal of this book is to get you comfortable with the Microsoft AJAX Library, a huge set of functions that can be used for developing powerful client-side functionality.

Beginning with a hands-on tour of the basic technologies associated with AJAX, JavaScript, XMLHttpRequest, JSON, and the DOM, you'll move on to a crash course in the Microsoft AJAX tools. You will learn, through numerous step-by-step exercises, how to create basic AJAX applications, how the object-based programming model of JavaScript works, and how Microsoft AJAX Library extends this model. You'll understand the architecture of the Microsoft AJAX components, how they all fit together, and exactly what they can do for you. Then you will learn how to use the Microsoft AJAX Library in your web projects, and a detailed case study will walk you through creating your own customized client components.

At every stage of your journey, you'll be able to try out examples to illuminate the theory, and consolidate your understanding. In addition to learning about the client and server controls, you'll also see how to handle errors and debug your AJAX applications.

To complement your new found skills, the book ends with a visual reference of the Microsoft AJAX Library namespaces and classes, including diagrams and quick explanations for all the classes mentioned in the book, providing an invaluable reference you will turn to again and again.

Authors

Table of Contents

Chapter 1: AJAX and ASP.NET
The Big Picture
Building Websites Since 1990
The World of AJAX
Setting Up Your Environment
Hello World!
Summary
Chapter 2: AJAX Foundations
JavaScript and the Document Object Model
JavaScript Events and the DOM
Even More DOM
JavaScript, DOM, and CSS
The XMLHttpRequest Object
Summary
Chapter 3: Object-Oriented JavaScript
Concepts of Object-Oriented Programming
Object-Oriented JavaScript
Introducing JSON
Summary
Chapter 4: Introducing the Microsoft AJAX Library
Microsoft AJAX Library Components
Asynchronous Communication
Working with WebRequest
More WebRequests
Summary
Chapter 5: OOP with the Microsoft AJAX Library
The New Features
JavaScript Base Classes Extensions
Classes in Microsoft AJAX Library
Summary
Chapter 6: Creating Client Components
DOM Elements and Events
Components, Behaviors, and Controls
Summary
Chapter 7: Case Study: Timer and EnhancedTextBox
The Timer Component
The EnhancedTextBox Behavior
Creating Timer and EnhancedTextBox
Using the Components
Summary
Chapter 8: Debugging Tools and Techniques
AJAX Debugging Overview
Debugging and Tracing with Microsoft AJAX Library
Debugging in Internet Explorer
Debugging in Firefox
Fiddler
Testing
Summary

Book Details

ISBN 139781847190987
Paperback300 pages
Read More

Recommended for You