Best practice for using web services (ASP.MVC)

Posted by eqiz on Stack Overflow See other posts from Stack Overflow or by eqiz
Published on 2010-03-31T18:43:46Z Indexed on 2010/03/31 18:53 UTC
Read the original article Hit count: 264

Filed under:

Basically what I have is web services returning data in xml format. Once I do a call to a webservice to retrive data from web service function (GetUserList) i want to take that data and then dymaically display (no postback) the resulting information. I know several ways of doing this:

webservice sends data back to javascript, javascript then parses, replaces strings or text inside a div or child, or take the information retrieved and then put it into html table format through javascript.

Those are some of the idea's i've came up with, does anyone know the best practice to do this?

Using ASP.MVC (.Net)

© Stack Overflow or respective owner

Related posts about asp.net-mvc