Friday, June 23rd, 2006

Creating an Album List with Ajax and C#

Category: Programming

<p> In a new tutorial from Scratch Projects today, they focus on the creation of an album listing combining the powers of Ajax and C#.

Over the past few months I have been toying with Ajax and .NET via the AJAX.NET Pro Library and my first few attempts left me feeling that Ajax was not very useful. Then I recently had a specific task to complete and it seemed to be a perfect candidate for Ajax. The task was very simple, get a list of Albums by an Artist.

This functionality is of course part of a much larger on-line music app I was constructing but I needed to start with something small. The UI was very simple a TextBox to enter an Artists’ Name and a Table to display the Albums. Since this was such a simple task I decided to spice it up with some AJAX.

In part one, they focus on the creation of the select box to handle the incoming results in a simple and clean way. For the backend, that means adding a serialized object to push them through. Part two really starts getting into the code, creating the necessary handlers to call the remote Ajax script and the addition of more controls to the web page itself (four functions). More serialized objects are set up and tied together to make the artist and album search framework ready to go.

In part three, they focus on the Ajax bits, grabbing the response and parsing out the artist and album names. Finally, in part four, they tie it all together and merge the interface, backend code, and the Ajax helper functionality to make it all work.

Related Content:

  • Choosing an Ajax framework
    Your customers won't have to fear Ajax if they have the right tools to work with. Help them determine which Ajax-specific framework, library or...
  • Ajax Learning Guide
    Are you a Web developer? The time has come to rethink your entire approach to developing Web applications. Find out about the Ajax approach...
  • Book excerpt: Ajax and the dynamic double combo
    This chapter download demonstrates how to enhance HTML forms with Ajax to create double-combination linked...
  • Ajax Learning Guide
    Are you a Web developer? The time has come to rethink your entire approach to developing Web applications. Find out about the Ajax approach...
  • Getting started with ASP.NET AJAX development, Part 2
    In this tip we revisit ASP.NET AJAX development and present resources for getting the most out of server-side programming, the UpdatePanel and add-in...

Posted by Chris Cornutt at 6:56 am
7 Comments

+++--
3.3 rating from 56 votes

7 Comments »

Comments feed TrackBack URI

The examples are using the old Ajax.NET dll, simple replace all “Ajax.” by “AjaxPro.”, then everything should work.

Comment by Joe — June 23, 2006

Can any one demonstrate with example how to implement ajax with php ………..

Comment by Suraj — June 23, 2006

hg

Comment by hgjhg — August 17, 2006

hi,i’m student of software computer in shiraz university
i want learning about ajax techniqu in .net special c# language.
please suggest me a tutorial book or anything abot it.
thank you.

Comment by mohsen sadegh moghadam — October 6, 2006

“Beginning Ajax with Asp.net” may help you.

Comment by zhenhua — October 8, 2006

I was hoping that someone might be able to guide me to the right place. Intuit is (TurboTax, Quicken, QuickBooks) in search of some good UI Engineers w/ AJAX experience along w/ Java dev experience. If you have any suggestions, or know of anyone interested please email me @ chris_cox@intuit.com

Comment by Chris Cox — February 23, 2007

casa

Comment by asa — September 26, 2007

Leave a comment

You must be logged in to post a comment.