Cấu hình, bạn sẽ có thể có các điều chỉnh các dịch vụ khác nhau có thể có yêu cầu hàng tệp mã trước khi WCF! Hình 7-1 cho thấy ngăn xếp trước WCF công nghệ xe hơi, chẳng hạn như màu sắc của nó, một phương pháp là một cái gì đó mà bạn có thể thực hiện trên chiếc xe, chẳng hạn như lái xe, | 288 CHAPTER 12 AJAX EXTENSIONS FOR script src d yfwYKTfiMeq0vuB4l8z1TrL35xfv6g8XP_WrOPfTwL66AB2oz 8QRS5Lwfo666oDJgLW4Va2KNp_CEQC1pA2Sjb3Jm9uPm 6XGO-wEIVg6lRA1 amp t 633062590837065070 type text javascript script script src d yfwYKTfiMeq0vuB4l8z1TrL35xfv6g8XP_WrOPfTwL66AB2oz 8QRS5Lwfo666oDJgLW4Va2KNp_CEQC1pA2SjaH2gXu3ERVLt TRI4HEwCJk1 amp t 633062590837065070 type text javascript script script type text javascript CDATA ScriptManager1 form1 ._updateControls 90 script div div script type text javascript -- -- script form body html There s lots of new stuff here. You ll be seeing how this all hangs together as you work through this book but for now consider the script blocks referencing and . These guys are downloading the various script libraries that the browser needs for this page. Part of this is to support the core extensions to JavaScript adding object orientation so that calls like make sense. CHAPTER 12 AJAX EXTENSIONS FOR 289 Migrating to AJAX One of the nicest things about ASPNET AJAX is the fact that the UpdatePanel control can be used to add AJAX functionality to an existing ASPNET application. This is simply achieved by wrapping the relevant controls with an UpdatePanel. Consider the following example. Add a new web form to your application and call it . On this form add a couple of text boxes a button and a label and call them txtA txtB btnAdd and lblAns respectively. The source of your page should look like this @ Page Language C AutoEventWireup true CodeBehind Inherits DOCTYPE html PUBLIC - W3C DTD XHTML Transitional EN http TR xhtml1 DTD html xmlns http 1999 xhtml head