Creating and Using an AJAX-enabled Web Service in a Web Site

Please install Silverlight or click download to watch video locally.

Visual Studio 2008 lets you create ASP.NET custom Web services that you can access from client scripts. This walkthrough will demonstrate how to create an AJAX-enabled Web service and use its methods from client script running in separate Web application.

Presented by Rob Windsor

Duration: 12 minutes, 40 seconds

Date: 15 November 2007

Watch    Video   |   Download    Video

Video downloads: WMV  |  Zune  |  iPod  |  PSP  |  MPEG-4  |  3GP

Audio downloads: AAC  |  WMA  |  MPEG-4  |  MPEG-3  |  MPEG-2

Comments : 20

Leave a Comment

PraveenaSethu : On March 19, 2008 5:28 AM said:

Hi Rob,

It is very basic item only.

Can you any items related to play video files in web pages

Thanks a lot!!!

Regards,

SethuManickam

venkatsrinivas : On April 22, 2008 8:00 AM said:

Hi Rob,

Can you provide the sample code?

Thanks,

Venkatesh

leonardo42 : On July 07, 2008 3:59 AM said:

Hola Mr Rob

Really enjoyed your video, most helpfull for us new to webservices.

Thank You

Leonardo Odriozola

PVamsiK : On July 20, 2008 11:05 PM said:

Good Video. This would have been more helpful with a real world example.

muhammed : On August 18, 2008 2:42 AM said:

thanks for the video but if you could provide a sample code would more better.........

ck.kislay : On September 15, 2008 7:12 AM said:

Hi Rob,

Can you provide the sample code?

Thanks,

Chandan kumar

djibril_chimere_DIAW : On October 31, 2008 6:44 AM said:

Thanks! Jërëjëf!

Nitslearning : On November 04, 2008 2:03 AM said:

Good Video, I tried at my system, an internal server error occurs while running web service sample. what to do?

Thanks

amin_pucit : On January 30, 2009 8:21 AM said:

nice work!

nushahi : On February 03, 2009 2:22 PM said:

what about security of web service

Laban : On February 04, 2009 3:15 PM said:

I could only use the webservice locally. How do I configure it to execute on a remote server?

Laban : On February 05, 2009 7:23 AM said:

My previous problem was solved by inserting

<webServices><protocols>

   <add name="HttpPost"/>

   <add name="HttpGet"/>

</protocols></webServices> in web.config.

But now I have a problem showing the response in .innerHtml.

It shows fine in an alert(result)!

Should I refresh the updated part of page? How?

gbetsos : On March 19, 2009 12:51 PM said:

Very helpful, thanks!

rayan82 : On March 21, 2009 2:53 PM said:

I am getting the following error while running the client application.

microsoft jscript runtime error: Sys.Net.WebServiceFailedException. The server method 'Method' failed with the following error:

I even tried adding the web service as web reference but to no avail.

abinashbishoyi : On April 05, 2009 9:48 AM said:

Thank you.

haithemara : On May 27, 2009 12:16 AM said:

thanks for the video, but really you just repeat what Joe discuss on his videos. Please be more creative. Thank you

angelph : On June 02, 2009 1:59 AM said:

hi rob. thanks for the video but i can't make it work. can you upload the source files (both the web service and the asp.net app) please?

angelph : On June 02, 2009 5:16 AM said:

has anybody able to make this work? the ongreetingsclick function is not performing the "ongreetingscomplete" function after execution.

adnan umar : On July 20, 2009 7:19 AM said:

thanks for making videos tutorial its a good idea to understand all things but i recommend u please also attach its program like code.

hpared : On November 04, 2009 3:02 PM said:

People use to be able to download the codes before, can this still be done?

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Microsoft Communities