I gave a couple of fun talks at the Toronto .NET User’s group last night. The first talk was an overview of the CLR, where the different technologies (CLR, ASP.NET, ADO.NET, SOAP / WebServices, WinForms, VS.NET) fit into the big picture, followed by an examination of a couple of useful tools (Anakrino and Reflector) for examining compiled assemblies.
The second talk was a talk about CLAW. In this talk, I presented the current implementation of CLAW, and of course, for the first time ever, my demo blew up. Thanks to Ed Musters for distracting the audience while I attempted to figure out what was wrong. Normally I can figure out what is wrong, but in this case I couldn’t get it working.
This morning, while waiting for my car to be serviced, it took me all of 5 minutes to figure out the problem: I installed the ASP.NET hotfix. Apparently, when a Microsoft hotfix installs, it also re-NGEN previously compiled assemblies. For CLAW to work on NGEN’ed assemblies, they must be NGEN’ed with the /prof command line switch. The two key assemblies that would have made my demos work: System.Xml.dll and System.Windows.Forms.dll were not NGEN’ed with /prof, so bam the demo blew up.
My thanks go out to the audience for being patient while I flailed around on stage, and for using their imaginations when I described what should have happened.
Here’s a ZIP file that contains both power point presentations that I gave at the talk.