ASP.NET Podcast #23 - Spang, Atlas and life....
How remiss of me. Wally has posted up about the latest podcast and I haven't done the same. You know how it works by now, Wally posts it, then I shortly follow (just in case you missed Wally's post). Well here it is.
Subscribe - It makes life easier. Get a copy of iPodder or iTunes.
Show Notes:
- Spang.
- What Spang Truly is.
- Dave Sussman's Reaction to the Spang announcement.
- The Joke takes root and grows exponentially.
- The Channel9 Reaction.
- Atlas code.
- Server side Web Code:
[WebMethod]
public string HelloWorld(string strInput)
{
return "Hello " + strInput + " Server Time: " + DateTime.Now.ToString() ;
} -
Client Side Javascript:
<script type="text/xml-script">
function OnClickTest() {
var txtInputBox = document.getElementById("txtInput");
Samples.AspNet.WebServiceTest.HelloWorld(txtInputBox.value, HelloWorldCallBack);
}
function HelloWorldCallBack(result){
alert("Returned Value: " + result);
}
</script>
- Server side Web Code: