Attention: We are retiring the ASP.NET Community Blogs. Learn more >

Contents tagged with ASP.NET AJAX

  • Understanding ASP.NET AJAX Web Service Proxies

    Proxy code plays an important role in sending and receiving messages to and from Web Services.  If you've worked with Web Services before in .NET, Java or other programming frameworks then chances are you used a client-side proxy to call a Web Service.  With .NET, proxies are generated using wsdl.exe or Visual Studio's Add Web Reference menu option.  ASP.NET AJAX proxies aren't created this way, however.  In fact, they're even easier to create compared to C# or VB.NET Web Service proxies. An ASP.NET AJAX Web Service proxy is created by using the Services property of the ScriptManager control:

  • Video: Debugging ASP.NET AJAX Applications with VS.NET 2005

    Debugging is a key skill that every developer has to learn to become productive. However, how do you debug ASP.NET AJAX applications and client-side JavaScript? In this video tutorial I walk through a few required steps to enable debugging and show how to use tools such as the Script Explorer to simplify the process. It's important to note that many of the features shown in the video can also be used with the Visual Web Developer Express.

  • Video: Calling Web Services using ASP.NET AJAX and JavaScript

    ASP.NET AJAX provides several different ways to call Web Services including JavaScript, XML Script and the AutoCompleteExtender. In this video tutorial you'll see how to call Web Services using JavaScript. Topics covered include creating a Web Service, applying the ScriptService attribute, creating a client-side JavaScript proxy and calling a Web Service using JavaScript and callbacks.

  • ASP.NET AJAX, Windows Mobile 5, Bluetooth GPS and Virtual Earth

    I've been playing around a lot lately with a great set of components from http://www.gpsdotnet.com that allow GPS functionality to be integrated into .NET applications.  The samples included with the GPS components were awesome and made it simple to do what I wanted (since they did most of the work for me).  I used the components to build a .NET Compact Framework V2 app for my Mobile 5 Pocket PC phone that could read data via bluetooth from a Pharos GPS device and upload it to a Web Service on a scheduled basis for logged in users.  While carpooling into work with my good buddy Spike Xavier I ran the application to get some test data to use.    The data is then mapped using pushpins and polylines using Microsoft's excellent Virtual Earth API.  All of the interaction with the backend Web Service is done using ASP.NET AJAX with JavaScript proxies and a little XML Script to hook it all together.  The application calls a Web Service that returns GPS users for display as well as longitudes and latitudes for selected users.  A screenshot of my trip into work a few days ago is shown below:

  • Video: Using the ASP.NET AJAX UpdatePanel, Triggers and PageRequestManager

    Microsoft's ASP.NET AJAX technology provides a quick and simple way to add AJAX capabilities into new or existing Web pages.  In this video tutorial I discuss how to use the UpdatePanel, refresh it using triggers and detect when it has finished updating using the new PageRequestManager along with JavaScript events.  I also cover how to use the AutoCompleteExtender control to call Web Services and show some of the Microsoft Virtual Earth API. 

  • ASP.NET AJAX UpdatePanel Messages

    Microsoft made some fairly significant changes to the way ASP.NET AJAX UpdatePanel control messages are sent to and from the server in the latest beta release.  In earlier versions XML was used.  For example, a portion of a response message is shown below that contains a <delta> tag and others to track changes to the control (I removed quite a bit of the actual response message to keep it short and to the point):

comments powered by Disqus