ASP.NET AJAX in Action phần 1 pot

58 262 0
ASP.NET AJAX in Action phần 1 pot

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... 10 4 Reflection methods 10 4 ■ Object typing 10 5 a simple class browser 10 6 ■ Building CONTENTS 3.7 Working with events 10 8 Exposing an event 10 9 handling events 11 2 3.8 4 Summary ■ Subscribing to and 11 3 Exploring the Ajax server extensions 11 4 4 .1 Ajax for ASP.NET developers 11 5 What are the Ajax server extensions? 11 5 4.2 Enhancing an existing ASP.NET site A sample ASP.NET site 11 7 ASP.NET site 11 8... SetPropertyAction 387 ■ PostBackAction 389 InvokeMethodAction 389 ■ Custom actions 394 11 .3 Bindings 398 A simple binding 398 ■ Binding direction 400 ■ Target and data path 4 01 ■ Bindings as components 402 ■ Transformers 404 Playing with transformers 405 ■ Custom transformers 408 11 .4 Summary 409 CONTENTS 12 Dragging and dropping 410 12 .1 The drag-and-drop engine 411 How the engine works 412 ■ A simple... 11 8 4.3 ■ 11 6 Configuring an existing ScriptManager: the brains of an Ajax page 12 0 Understanding the ScriptManager 12 1 ■ Deploying JavaScript files 12 2 ■ Registering services 12 3 Localization 12 4 ■ Using the ScriptManagerProxy 12 6 4.4 Partial-page updates 12 7 Introducing the UpdatePanel control 12 8 ■ More UpdatePanels 13 1 ■ Insert feedback here 13 3 ■ Working with a timer 13 5 ■ Error handling 13 8 4.5... 14 0 Making asynchronous network calls 14 1 5 .1 Working with ASP.NET Web Services 14 2 Configuring a web service 14 3 ■ Invoking web service methods from JavaScript 14 6 ■ Managing complex types 15 0 ■ Using HTTP GET 15 8 Page methods 15 9 5.2 The asynchronous communication layer A simple WebRequest 16 1 WebRequestManager 16 3 5.3 ■ ■ 16 0 The executor 16 2 Handling errors 16 3 Consuming external Web Services 16 6... The script technique 16 7 Cross-domain calls through the server 16 8 ■ Mash-it-up with ASP.NET AJAX 16 9 Bridges 17 5 ■ xi xii CONTENTS 5.4 Using ASP.NET application services 18 3 Enabling ASP.NET application services 18 3 ■ Authentication service 18 4 ■ Profile 18 7 ■ Roles: an Orcas preview 19 1 Message board application 19 2 5.5 6 Summary 19 3 Partial-page rendering with UpdatePanels 19 4 6 .1 With great power... extensions 5 Making asynchronous network calls 6 X X X X Partial-page rendering with UpdatePanels X X 7 Under the hood of the UpdatePanel X X 8 ASP NET AJAX client components 9 Building Ajax- enabled controls X X 10 Developing with the Ajax Control Toolkit X X 11 XML Script X X 12 Dragging and dropping X X 13 Implementing common Ajax patterns X X X X X X Chapter 1 introduces Ajax and the ASP.NET AJAX extensions... ASP.NET AJAX 4 41 13 Implementing common Ajax patterns 443 13 .1 Script versioning 444 Getting informative stack traces 445 ■ XML comments in JavaScript code 447 ■ Validating function parameters 449 ■ Parameter validation in production code 452 ■ Compressing and crunching script files 454 13 .2 Helpers, help me help you! 455 Automating the declaration of properties Automating the creation of events 458 13 .3... the foundations of ASP.NET AJAX Chapter 1 introduces the main Ajax concepts and terminology In this chapter, we’ll also take a whirlwind tour of the features in ASP.NET AJAX that will be covered throughout the book The subsequent chapters discuss the primary development models used in ASP.NET AJAX programming We present the client-centric programming model in chapters 2 and 3 Reading these chapters... to Ajax- enabled controls How Ajax- enabled controls work 307 script controls 308 9.3 Extenders ■ 306 Extenders and 311 The IExtenderControl interface 311 ■ Extender registration 312 An extender for FormattingBehavior 313 ■ Using an extender 316 xiii xiv CONTENTS 9.4 Script controls 319 The IScriptControl interface 319 ■ Script control registration 320 ■ Design strategies 322 ■ Adding Ajax to the ASP.NET. .. deep, using a core AJAX programming model xvii xviii FOREWORD that is nicely integrated into ASP.NET, ends up being extremely powerful, and is one that enables developers to build great next-generation web applications ASP.NET AJAX in Action provides an excellent guide to learning and mastering all of the functionality that ASP.NET AJAX provides, and in particular it does a great job of explaining its . extensions 11 4 4 .1 Ajax for ASP. NET developers 11 5 What are the Ajax server extensions? 11 5 4.2 Enhancing an existing ASP. NET site 11 6 A sample ASP. NET site 11 7 ■ Configuring an existing ASP. NET. xxxiii PART 1 ASP. NET AJAX BASICS 1 1 Introducing ASP. NET AJAX 3 1. 1 What is Ajax? 4 Ajax components 5 ■ Asynchronous web programming 7 The XMLHttpRequest object 10 ■ Ajax development issues 14 1. 2. typing 10 5 ■ Building a simple class browser 10 6 CONTENTS xi 3.7 Working with events 10 8 Exposing an event 10 9 ■ Subscribing to and handling events 11 2 3.8 Summary 11 3 4 Exploring the Ajax

Ngày đăng: 12/08/2014, 08:22

Từ khóa liên quan

Mục lục

  • ASP.NET AJAX in Action

    • brief contents

    • contents

    • forewords

    • preface

    • about the authors

    • ASP.NET AJAX basics

      • Introducing ASP.NET AJAX

        • 1.1 What is Ajax?

          • 1.1.1 Ajax components

          • 1.1.2 Asynchronous web programming

          • 1.1.3 The XMLHttpRequest object

          • 1.1.4 Ajax development issues

          • 1.2 ASP.NET AJAX architecture

            • 1.2.1 Client framework

            • 1.2.2 Server framework

            • 1.2.3 Client-centric development model

            • 1.2.4 Server-centric development model

            • 1.2.5 ASP.NET AJAX goals

            • 1.3 ASP.NET AJAX in action

              • 1.3.1 Simple server-centric solution

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan