WORLDCOMP'09: Khanna Samratvivekanand Omprakash
![]() |
Web Services in ASP.NET AJAX
Khanna Samratvivekanand Omprakash Institute of Science & Technology for Advanced Studies and Research(ISTAR), Charotar Vidya Mandal (CVM), Sardar Patel University, V.V.Nagar, India Date: July 15, 2009 Time: 6:00 - 9:30 PM Location: Ballroom 3 |
Abstract
The intent behind a Web service is to drive the Internet as a transactional tool rather than simply a visual tool. The value of Web services to Microsoft is hard to deny. Gates, in his memo, calls it "the next sea change" and notes that the Internet can "make software far more powerful by incorporating a services model."
This tutorial will describe calling Web Services and WCF with ASP.NET AJAX.
Ajax and web services are a perfect match for developing web applications. Ajax has built-in abilities to access and manipulate XML data, the native format for almost all REST and SOAP web services. AJAX has rapidly become the presentation valve of choice for Web services. AJAX is not without its challenges. After all, the J stands for JavaScript, which Schmelzer described as "difficult to debug, difficult to deploy in large applications and convoluted." We will describe ASP.NET AJAX with its features and architecture. With AJAX functionality in an ASP.NET Web page, we will see how client script to call both ASP.NET Web services (.asmx) and Windows Communication Foundation (WCF) services (.svc). The required script references are automatically added to the page, and they in turn automatically generate the Web service proxy classes that you use from client script to call the Web service. We can also access ASP.NET Web services without using ASP.NET AJAX server controls for different Web development environment by just include references to the Microsoft AJAX Library, to script files, and to the Web service itself. At run time, ASP.NET generates the proxy classes that you can use to call the services. We will also how to create an AJAX-enabled Web service in Visual Studio and how to create a Web site that uses the Web service from client script.
Objectives
The Web has become the dominant way to deploy applications The Web has progressed and rich Internet applications (RIAs) offer user interfaces that are competitive with desktop applications. There are many powerful technologies that can be used to create RIAs, but the most popular is certainly Asynchronous JavaScript and XML (AJAX.)It is used to describe a number of web technologies used in combination to improve web site user interfaces and visitor experience.AJAX relies on a web browser technology called XmlHTTPRequest pioneered by Microsoft and is now supported by all recent versions of popular web browsers. This tutorial shows how AJAX can be used in conjunction with Web Services
Intended Audience
This tutorial is targeted to Graduate students , researchers, website developers . The audience is assumed to be familiar with programming language at the undergraduate level and have some comfort with Microsoft Visual studio. Some exposure to Web Service is useful. A short overview on Web Service and ASP.NET AJAX will be given as an introduction.













