If broken it is, fix it you should

Using the powers of the debugger to solve the problems of the world - and a bag of chips    by Tess Ferrandez, ASP.NET Escalation Engineer (Microsoft)

March, 2009

Posts
  • If broken it is, fix it you should

    Debugging a .NET crash with rules in Debug Diag

    • 26 Comments
    During mine and Micke’s presentation at TechDays this week I showed a demo of setting up rules with Debug Diag to identify the cause of a crash in an ASP.NET application. Even though debugging might be tricky, setting up rules in Debug Diag is beautifully simple and I personally believe that it would be a good idea for anyone running a web site to have debug diag installed along with a few instructions for the ops personnel on how to set up the rules. Better yet, you can set up the rules in advance...
  • If broken it is, fix it you should

    Silverlight 2.0 Walkthrough – Creating a “Traffic Jam” game

    • 12 Comments
    This series of posts are not really in-line with my normal debugging posts, but I just created a simple Traffic Jam game in Silverlight and thought I’d make it into a “lab series” that you can go through if you are getting started with Silverlight. The game is called Seattle Streets and it based on the popular board game Rush Hour® where you help a little red car move to the Exit square by moving the other cars out of its way in as few moves as possible. The project for the finished game is attached...
  • If broken it is, fix it you should

    Silverlight/WPF FlipImage Animation

    • 19 Comments
    I was working on some Silverlight samples and needed an image that could flip over as in the example below. All the samples I could find on the net were pretty complex and contained a lot of code to do the animation and I wanted something really simple. To create the illusion of an image that flips over (or any kind of UI element that flips over) you just need 4 things 1. A front image / UI element 2. A back image / UI element 3. A flip animation 4. A reverse animation The flip...
  • If broken it is, fix it you should

    Silverlight Game – Part 1 – Creating the main layout

    • 5 Comments
    This is part one in a series of 5 posts showing how I built a simple game in Silverlight, you can follow along (reading the posts in order) to build your own Traffic Jam game. I would recommend that you also go through ScottGu’s silverlight tutorials as well as the other tutorials on www.silverlight.net 1. Create a new Silverlight Application using VS 2008 and call it SeattleStreets When you click ok you will be asked to create an asp.net application or automatically generate a test page...
  • If broken it is, fix it you should

    Silverlight Game – Part 3 - Using Linq to XML to read and generate the levels

    • 4 Comments
    This is part three in a series of 5 posts showing how I built a simple game in Silverlight, you can follow along (reading the posts in order) to build your own Traffic Jam game. I would recommend that you also go through ScottGu’s silverlight tutorials as well as the other tutorials on www.silverlight.net In Part 2 we created some Cars to place on the board, in this post we will read the level information and place the Cars accordingly. I have attached a number of xml files to this post...
  • If broken it is, fix it you should

    Silverlight Game – Part 2 – Creating a Car UserControl

    • 3 Comments
    This is part two in a series of 5 posts showing how I built a simple game in Silverlight, you can follow along (reading the posts in order) to build your own Traffic Jam game. I would recommend that you also go through ScottGu’s silverlight tutorials as well as the other tutorials on www.silverlight.net In Part 1 we created the layout for the page/playing board, in this post we will create a Car UserControl to place on the board. The car we are creating will look something like this....
  • If broken it is, fix it you should

    Silverlight Game – Part 5 – Storing Highscores in Isolated Storage

    • 10 Comments
    This is part five in a series of 5 posts showing how I built a simple game in Silverlight, you can follow along (reading the posts in order) to build your own Traffic Jam game. I would recommend that you also go through ScottGu’s silverlight tutorials as well as the other tutorials on www.silverlight.net In parts one through four we created a traffic jam game called Seattle Streets. The object of the game was to move cars around and get the red car to reach the exit in as few moves as possible...
  • If broken it is, fix it you should

    Silverlight Game – Part 4 - Adding drag and drop functionality to move the cars around

    • 4 Comments
    This is part four in a series of 5 posts showing how I built a simple game in Silverlight, you can follow along (reading the posts in order) to build your own Traffic Jam game. I would recommend that you also go through ScottGu’s silverlight tutorials as well as the other tutorials on www.silverlight.net In part 3 we finished the level generation, now we are getting ready to move the cars around a little. 1. Add EventHandlers for MouseLeftButtonDown, MouseMove and MouseLeftButtonUp on the...
  • If broken it is, fix it you should

    .NET Rocks: Debugging chat

    • 11 Comments
    Yesterday I had a nice chat with Richard and Carl at .NET Rocks . We talked about .net, debugging, memory issues and a bunch of other stuff, and in the end I got a pop quiz that I failed:) See if you can figure out what caused the outage on their servers… The show will be uploaded here some time today. Laters, Tess
Page 1 of 1 (9 items)