Archives

Archives / 2005 / October
  • ASP.NET Podcast - #24 I think? Atlas here there and everywhere, Wally on books...

    Well thats what I get for being slack, Wally has slipped in another podcast just after I posted up about the last one.

     

    What big scoop can I bring you thats a little different though, well about all I can offer is that it is in fact podcast #24, not #23. Yes, earth shattering I know. Take a moment to absorb it before moving on.... so without further ado, the podcast....

     

    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:
        Super Wally
      • 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]]);The output from debug.dump.>
      • 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.

    Read more...

  • Atlas Declarative markup

    Atlas has 3 main ways of specifying functionality and behaviours. Imperative (via std javascript which most people would be familiar with, particularly those with AJAX.NET experience), declaratively, and through server controls. Previous posts have dealt mostly with the imperative method, however this post will transition somewhat into the delcarative.

    Read more...

  • Atlas Page Methods

    Want to access a method within your page asynchronously using the Atlas framework? Its easy.

    Read more...

  • Atlas, scripting functionality and delegates

    Atlas promises a lot of things, and one of the things I wanted to mention was the way it brings a familiar .Net development paradigm to the javascript world. Atlas makes the javascript look very much like its .Net server side counterpart in terms of development framework. What does that mean? Well lets take an example.

    Read more...

  • MVP Summit complete, G. Andrew Duthie Singing

    Well the MVP Summit is now officially over. The event proved very productive for me and I got to meet up with many other MVP's and Microsoft staff that I had previously not met, in addition to those whom I had previously at the MVP summit last year. The MVP party was pretty cool and was held at the Sci-Fi museum near the Space Needle. Quite a cool place with lots to look at like the guitar museum, Sci-Fi museum, and they even provided a special Karaoke section.

    Read more...