Quick code post – We’re working with a client who needs to be able to select imprecise dates – either an exact date, the month and year, or just the year. Most date pickers aren’t set to handle this case, and I didn’t really want to write one from scratch. We were already using the…
Tag: Programming
First Look at Psscor2 the new WinDBG Debugging Extension for Managed Code
About two weeks ago Microsoft announced the release of Psscor2 – a managed debugging extension for WinDBG which is a superset of the awesome SOS debugging extension. This is an insanely useful tool when you are trying to debug problems on Production machines where you don’t (and can’t) install Visual Studio, or when you need…
IronRuby for the .NET Developer Presentation from MIX10
This afternoon I presented a session covering the basics of Ruby and IronRuby for .NET Developers at the MIX10 conference in Las Vegas. Thanks to everyone who came out! The session was recorded, and the video and slides are below! IronRuby for the .NET Developer View more presentations from Cory Foy.
Debugging .NET Applications with WinDBG and SOS
Last night I gave a presentation for the Pasco County .NET User’s Group on Debugging .NET Applications with WinDBG and SOS. We covered some basics of the CLR and Memory Management in .NET, and then how to troubleshoot Crashes, Hangs and Memory Leaks when dealing with .NET applications in production. Debugging NET Applications With WinDBG…
TDD with Visual Studio Team Edition for Database Professionals
This evening I did an online presentation for the Ft. Lauderdale .NET User’s Group on DataDude Visual Studio Team Edition for Database Professionals Visual Studio Team System Database Edition showing how you can use the refactoring, testing and data generation features to do Test-Driven Development in your SQL Server Databases. I’ve put the slides (which…
Find the Bug – C# and Infinite Loops with Collections
See if you can spot the problem with the following C# code: var list = new List { “fish”, “and”, “chips” }; for (int i = 0; i < list.Count; i++) { list.Add(list[i].ToUpper()); } As the title points out, this will cause an infinite loop, and will eat up all of your memory. What happens...