ASP.NET Podcast Show #24 - More Atlas, Debugging with Atlas, and Various Book Status
Subscribe, its the good thing to do. iTunes and iPodder links.
Download.
Special thanks go out to Wilco Bauwer who has posted a lot of his insight into Atlas in the ASP.NET forums.
Show Notes:
- Emails.
- Our hero Phil Winstanley supports the show
And thanks go out to Plip for these pictures:

- Scott Fletcher says that “Wally is the hottest thing in Podcasting!”
- Chris Frazier agrees with Scott.
- Atlas.
- What are some of the Atlas pieces-n-parts. Wally bloggerizes from Nikhil Kothari’s weblog. (Note: Wally made up the word bloggerize. It means to steal from someone else's blog without their permission. You learn something new on a podcast every day.........).
- Example (Note: There is an sState, which refers to an HTML tag, and there is a property referred to as State. These are separate and I appologize for any confusion):
Client Side Code:
function LoadTest(){
Samples.AspNet.WebServiceTest.ReturnDataSet(ReturnDataTableCallBack);
}
function ReturnDataTableCallBack(result)
{
var i = 0;
var ddl = document.getElementById("sState");
var optionItem;
iLength = document.getElementById("sState").options.length;
document.getElementById("sState").visible = true;
//document.getElementById("txtAreaResult").value = result.get_data();
for(i=0; i<iLength; i++)
{
document.getElementById("sState").options[0] = null;
}
alert("Length: " + result.get_length() );
for(i=0; i<result.get_length(); i++)
{
var optAdd = new Option(result.getItem(i).getProperty("State"),result.getItem(i).getProperty("tblStateId"));
for(m in result.getItem(i)){
//alert(m);
}
document.getElementById("sState").options.add(optAdd);
}
debug.dump(result, "DataTable Result", true);
}
Server Side Code:
[WebMethod]
public System.Data.DataTable ReturnDataSet()
{
DataTable dt = new DataTable();
DataRow dr;
dt.Columns.Add(new DataColumn("tblStateId", System.Type.GetType("System.Int32")));
dt.Columns.Add(new DataColumn("State", System.Type.GetType("System.String")));
dr = dt.NewRow();
dr["tblStateId"] = 1;
dr["State"] = "Tennessee";
dt.Rows.Add(dr);
dr = dt.NewRow();
dr["tblStateId"] = 2;
dr["State"] = "Alabama";
dt.Rows.Add(dr);
return (dt);
}
- Debugging with Atlas.
- debug.dump(object, name [, recursive[, indention padding]]);
> - for(m in results) alert(m);
- Wally does pimp himself.
- Book Status.
- ADO.NET.
- Ajax/Atlas Book.
- Please come be the IIS7 lead author. Being a lead author is so much fun.