SpriteHand
Module Border
  CNY Developers "Chalk Talk" Session
Module Border
Location: BlogsAndy's Blog    
Posted by: host 4/5/2006 4:22 PM

Sam Gentile was quite distressed when he had an emergency come up and had to cancel his presentation at our local CNY .NET Developer Group. Luckily, everyone is OK and we held an open "Chalk Talk" type session in lieu of Sam's presentation.

Here are a few notes from the presentation -

System.Convert vs. Parse
A question came up about when to use the System.Convert methods over the "Parse" methods for type conversion. As it turns out, the System.Convert methods will internally call the "Parse" methods for the desired type. However, the Parse methods will throw a ArgumentNullException if a Null parameter is passed...

double value;
string text = null;
// internally, Convert.To* will just call Parse methods for given type..
value = System.Convert.ToDouble(text);
// but Parse will throw an ArgumentNullException for Nulls...
value = double.Parse(text);

So then, what about all of those nifty VB.NET CType, CDbl, CInt, etc. conversion methods? Well, there is a good article here that goes on to explain that the VB.NET compiler is cool enough to optimize the MSIL spit out for those. And in fact, it is recommended to use these conversion methods (this was surprising really, because these conversion methods are mostly considered legacy type functions).

Atlas and Ajax
I also spent some time going over Atlas and Ajax demos showing a simple web service call, AutoComplete Behaviors, and the Resize Behavior I created. I hope to have time to refine this into a full presentation to give later on in the year!

Here are some links for the Atlas/Ajax stuff:
    Fiddler tool - great for analyzing ajax traffic
    Ajax .NET - stable, widely used ajax library for ASP.NET
    Atlas home - download and start playing!

Some Links from Greg
Greg Smalter also provided some great relative links:

      Using Atlas without ASP.NET shows using PHP with Atlas
      How-to Video on ASP.NET Validation Controls

Permalink |  Trackback

Title:
Comment:
Add Comment   Cancel 
Module Border Module Border
Module Border
  Blog_List
Module Border
Module Border Module Border
Module Border
  Subscribe
Module Border

RSS

Module Border Module Border
Module Border
  Diversions
Module Border

DESTROY ALL INVADERS
A scrolling shooter game where the objective is to destroy the invading UFO's flying over a neighborhood of your choosing. Imagery provided by Microsoft Virtual Earth. Created using Silverlight 2.
PLAY IT

INFO AND CODE



HOOK SHOT
This little basketball game was submitted as an entry to the TeamZoneSports Silverlight Contest. Created using Silverlight 2 and the Farseer Physics engine.
PLAY IT

INFO AND CODE



SORT THE FOOBARS
A game where you need to sort the good foobars from the bad ones. Created using Silverlight 2 and the Farseer Physics engine.
PLAY IT

MORE INFO



POLYGON PHYSICS DEMO
A demo showing polygon physics where the user draws physics objects with the mouse. Created using Silverlight 2 and the Farseer Physics engine.
PLAY IT

MORE INFO



SILVERLIGHT ROCKS!
Destroy the asteroids before they destroy your ship! Created using Silverlight 2.
PLAY IT

INFO AND CODE



FISH GAME
A simple game of harpoon-the-fish. Written using the AJAX Sprite Toolkit.
PLAY IT

INFO AND CODE

Module Border Module Border
Module Border
  Search_Blog
Module Border
Module Border Module Border
Module Border
  Blog_Archive
Module Border
Module Border Module Border
Copyright (c) 2008 andy.beaulieu.com - Login