I just finished up some code that uses some other functionality of atlas. To sum up: Whoa! This may be available in AJAX.net or some of the other frameworks, but I was amazed at how easy this was:
I have a web service that returns a class, like so:
public class MyClass
{
public string MyString;
public int MyInt;
}
[WebMethod(true)]
public MyClass MyWebMethod()
{
//init MyClass here
MyClass myClass = new MyClass();
return myClass;
}
the beauty of it is, I have access to those fields in my javascript:
function callWS()
{
MyWebService.MyWebMethod(onComplete);
}
function onComplete(result)
{
alert(result.MyString);
}
Very very very very cool :)