Tuesday, April 3, 2007

Enable AJAX for Your Existing ASP.Net 2.0 Web Service Project

It's easy to enable your existing ASP.Net 2.0 Web Service to accept client side script call as following:

First, copy the tags described in post "Enable AJAX for Your Existing ASP.Net 2.0 Website Project".

Second, add "[System.Web.Script.Services.ScriptService()]" attribute for your web service class.

That's it.

No comments: