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)

Posts
  • If broken it is, fix it you should

    Displaying HTML Content in a RichTextBlock

    • 3 Comments
    [This post is a part of a series of posts about the Social Media Dashboard Sample . For an introductory blog post with information and links to the Social Media Dashboard sample click here ] When you want to display HTML content from a blog RSS feed or other sources in a Windows 8 app you can display this in a WebView but the problem with the WebWiew is that you can’t use your own background or disable zooming which means that you will have a rather crude UX experience. One thing you can...
  • If broken it is, fix it you should

    Great Swedish games in the Windows 8 store and the Windows Phone Store

    • 6 Comments
    Lately I have been focusing a lot on games and education apps and I have been working with a lot of great Swedish game developers so I think it’s about time I gave them a shout out. This is by no means a complete list of Swedish games in the store but just some that I want to recommend.  Click on the Pictures to get to the store and try them out Ahh, but first a quick message about a Swedish Competition… We are running dev.battle where you can win a Nokia Lumia 820 or an Acer Iconia W510 if...
  • If broken it is, fix it you should

    Prisjakt The Story - Writing a Windows 8 app in JavaScript/HTML

    • 2 Comments
    [Prisjakt – The Story is a series of blog posts about our experiences helping Prisjakt/PriceSpy to write a Windows 8 Metro Style App using HTML/CSS/JavaScript.] Introduction Prisjakt/PriceSpy is web site for searching for/comparing products and getting the best price for a product. Prisjakt/PriceSpy is currently available in four countries: Sweden, Norway, United Kingdom and New Zeeland We at Microsoft DPE in Sweden has helped them to write a Windows 8 Metro Style app. We will post a...
  • If broken it is, fix it you should

    Bizzy Bees Step 5: Adding some bees to the mix (XNA Walkthrough)

    • 0 Comments
    This is part of a walkthrough series on creating a game (Bizzy Bees) in XNA Overview Step 1: Setting the stage (projects and assets) Step 2: Drawing the scene Step 3: Adding flowers Step 4: Making things move Step 5: Adding some bees to the mix Step 6: User interaction Step 7: Rounding it up We have two steps left before we have a fully functioning game. We need to add some bees to match with the flowers and we need to add some user interaction to be able to match the flowers and the bees....
  • If broken it is, fix it you should

    Bizzy Bees Step 6: User interaction (XNA Walkthrough)

    • 0 Comments
    This is part of a walkthrough series on creating a game (Bizzy Bees) in XNA Overview Step 1: Setting the stage (projects and assets) Step 2: Drawing the scene Step 3: Adding flowers Step 4: Making things move Step 5: Adding some bees to the mix Step 6: User interaction Step 7: Rounding it up The last step in the series is to add som user interaction so we can actually play the game. Catching the users input in the Update method The user interaction consists of taps and you can basically...
  • If broken it is, fix it you should

    Bizzy Bees Step 7: Rounding it up (XNA Walkthrough)

    • 1 Comments
    This is part of a walkthrough series on creating a game (Bizzy Bees) in XNA Overview Step 1: Setting the stage (projects and assets) Step 2: Drawing the scene Step 3: Adding flowers Step 4: Making things move Step 5: Adding some bees to the mix Step 6: User interaction Step 7: Rounding it up A few issues in the game – left for you to fix If you try to play the game a few times you may notice a couple of things 1. When the game starts, there may not always be a matching flower and...
  • If broken it is, fix it you should

    Bizzy Bees Step 3: Adding flowers (XNA Walkthrough)

    • 0 Comments
    This is part of a walkthrough series on creating a game (Bizzy Bees) in XNA Overview Step 1: Setting the stage (projects and assets) Step 2: Drawing the scene Step 3: Adding flowers Step 4: Making things move Step 5: Adding some bees to the mix Step 6: User interaction Step 7: Rounding it up Now we have set the scener for our game, it’s time to add the “players” or rather the flowers to the scene. The first thing we need to do is to add two classes, Colum and Flower (you...
  • If broken it is, fix it you should

    Bizzy Bees Step 4: Making things move (XNA Walkthrough)

    • 0 Comments
    This is part of a walkthrough series on creating a game (Bizzy Bees) in XNA Overview Step 1: Setting the stage (projects and assets) Step 2: Drawing the scene Step 3: Adding flowers Step 4: Making things move Step 5: Adding some bees to the mix Step 6: User interaction Step 7: Rounding it up Animating objects in XNA is extremely simple. To move something we just change the position of the objects in the update method. To resize an object we can add a variable for scale that we can update in...
  • If broken it is, fix it you should

    XNA for Windows Phone Walkthrough–Creating the Bizzy Bees game

    • 9 Comments
    About a year back I wrote my first XNA game for Windows Phone. The game is called Bizzy Bees and you can download and play it for free from the Marketplace . The idea of the app is quite simple… the goal is to collect as many rainbow flowers as you can before all the flowers hit the bottom. You collect flowers by matching flowers and bees, so a yellow flower matches with a yellow be, a pink flower with a pink bee etc. and all bees match up with rainbow flowers. In this series...
  • If broken it is, fix it you should

    Bizzy Bees Step 1: Setting the stage (XNA walkthrough)

    • 0 Comments
    This is part of a walkthrough series on creating a game (Bizzy Bees) in XNA Overview Step 1: Setting the stage (projects and assets) Step 2: Drawing the scene Step 3: Adding flowers Step 4: Making things move Step 5: Adding some bees to the mix Step 6: User interaction Step 7: Rounding it up The architecture of a game with a gameloop XNA is very different from winforms applications or Silverlight apps in that it is not eventdriven but rather uses the concept of a GameLoop where you update...
  • If broken it is, fix it you should

    Bizzy Bees Step 2: Drawing the scene (XNA Walkthrough)

    • 0 Comments
    This is part of a walkthrough series on creating a game (Bizzy Bees) in XNA Overview Step 1: Setting the stage (projects and assets) Step 2: Drawing the scene Step 3: Adding flowers Step 4: Making things move Step 5: Adding some bees to the mix Step 6: User interaction Step 7: Rounding it up Getting something on the screen In order to get anything on the screen in XNA you need to actually draw a texture from code every frame in the Draw method, as opposed to dragging and dropping something...
  • If broken it is, fix it you should

    Kinect SDK for Windows – Hover Button / Hover Control

    • 15 Comments
    This is part of what will be a series of posts on Kinect SDK demos and howtos, go here to see the whole list . In this post I will talk about how you can create a simple and versatile Hover Button / Hover Control for Kinect with a Metro look. The control is largely based on the Kinect Buttons from Shai Raiten, so all cred goes to him, this is just a customization of his work. Hover button UI The HoverButton control can have either an image or text or both and can be resized to fit your needs...
  • If broken it is, fix it you should

    Kinect SDK for Windows–Extensions Methods

    • 0 Comments
    This is part of what will be a series of posts on Kinect SDK demos and howtos, go here to see the whole list . Every time I create a new Kinect SDK demo I find myself doing the same setup so I created a few extensions methods that I use in my projects to make life easier. I figured I would share them here since I will be using them in my blog posts about Kinect in the future. The extension methods are SetSmoothTransform, which sets the smoothing parameters on the skeleton to stabilize the skeleton...
  • If broken it is, fix it you should

    Kinect SDK for Windows – demos

    • 0 Comments
    Lately I have been working quite a bit with the Kinect SDK for Windows, which you can install and use on your computer from our research department Geting started The only thing you need to get started is a computer running Windows, a Kinect device (must be the one with a power chord, but you can buy the power chord separately very cheep at most stores where they sell Kinect), and the Kinect SDK. Once you have everything installed I suggest you go to Channel9 and watch the QuickStarts to...
  • If broken it is, fix it you should

    Entering geek territory or exiting geek territory? That’s the question…

    • 23 Comments
      After 12 years in support I decided to lift my head above the WinDbg window and take a look at what the rest of the world has to offer… In fact, I decided not only to have a look but take a long long jump to the other end of the software spectrum, miles away from “My ASP.NET app hangs” to the world of “This new stuff that will be released in 2014 is soooo cool I’m gonna die”, and believe me, it’s a scary leap For the next two months I’ll be working in a team at Microsoft called DPE (Developer...
  • If broken it is, fix it you should

    Reader email: Need help troubleshooting perf/memory issues

    • 7 Comments
    I get several emails every day (through the blog) with urgent requests to help troubleshoot memory issues or memory related performance issues. Some just say “we have a memory issue, how do I troubleshoot it?” and others are far far more detailed with links to dumps and everything:) I love getting emails, but since I have a day job too (troubleshooting such issues:)) I unfortunately have to ignore most such requests through the blog:( to have time to help the customers that contact...
  • If broken it is, fix it you should

    Fix for RestartWWWService=false in Visual Studio 2010

    • 0 Comments
    We recently published a fix for the following problem: You create a deployment project for a web application in Visual Studio 2010, set the deployment property RestartWWWService=false and deploy to a Windows 2003 server. http://msdn.microsoft.com/en-us/library/22f9106b.aspx In this situation the w3wp.exe process will still be recycled even though the RestartWWWService is set to false. The fix is available at http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=32285...
  • If broken it is, fix it you should

    Debug Diag 1.2 (Beta)

    • 23 Comments
    Are you looking for some good stuff to put in your family’s Christmas stockings this year? Maybe a new phone, a controller for your gaming console, why not a brand new debugging tool:) Jokes aside, I get peppered with questions about Debug Diag and if there is a new version coming that will support Windows 7 / Windows 2008 and luckily some of my EE colleagues have been and are still working hard at making this happen. While it is not available for public download yet at the MS download site, Beta...
  • If broken it is, fix it you should

    Do you know ISA/Forefront and want to work in the cube next to mine (Sweden)?

    • 1 Comments
    If you live in Stockholm, know a lot about ISA/Foreftont/TMG/UAG and you’re just aching to spend the days debugging and troubleshooting interesting problems, we have a full-time Microsoft position open right now. Not only that, but you would get to have your morning “fika” with some fine people like Graham , Spike and Johan :) (ok, better stop now before this turns into an infomercial) Anyways, if it tickles your fancy, you can read more about it on the ISA blog and send your CV to my manager Roffe...
  • If broken it is, fix it you should

    Capturing memory dumps for 32-bit processes on an x64 machine

    • 17 Comments
    This is an issue that I often get questions around and we often have cases where we have to re-capture memory dumps because the memory dumps were captured the “wrong” way. The short story is: If you are executing a 32-bit process on a 64-bit machine, (which is the default case for IIS on x64 machines for example) you need to capture the dump with a tool that allows you to create 32-bit dumps. How do you know if your process is 32-bit? If you are on a 64-bit machine, you can check...
  • If broken it is, fix it you should

    Help! !clrstack is not showing any method names

    • 0 Comments
    From time to time I get questions about missing method names in the sos !clrstack output, like this: 0:019> !clrstack OS Thread Id: 0x5d0 (19) ESP EIP 0f31f340 7c80bef7 [HelperMethodFrame_1OBJ: 0f31f340] 0f31f398 1449167a 0f31f3c4 144915e6 0f31f3f4 10d81b48 0f31f4b4 793e25cf 0f31f4bc 79366b3d 0f31f4d4 793e2734 0f31f4e8 793e26ac 0f31f678 79e7c0e3 [GCFrame: 0f31f678] Jonathan Dickinson from SourceCode, just emailed me and told me that he had written an article about this...
  • If broken it is, fix it you should

    Getting full user mode dumps automatically when your process crashes

    • 8 Comments
    I recently got a question about if it is possible to generate full user mode dumps automatically every time the process crashes (without having debug diag or adplus installed and monitoring your system). This would be useful for example if you are setting up a site, and you want to make sure you get dumps if it ever crashes so that you don’t have to repro the issue at that point, just to get data. It turns out that starting with Windows Server 2008 and Vista + SP1, Windows Error Reporting...
  • If broken it is, fix it you should

    The SQL Server Support Team in Stockholm is hiring

    • 1 Comments
    If you are a contractor in Stockholm, skilled in SQL, have a look at this post: http://blogs.msdn.com/b/grahamk/archive/2010/06/22/the-sql-server-support-team-in-stockholm-is-hiring.aspx Have a good one, Tess
  • If broken it is, fix it you should

    .NET Memory Leak: XslCompiledTransform and “leaked” dynamic assemblies

    • 5 Comments
    I have written before about high memory usage caused by improper usage of XmlSerializer objects both in a case study and in a debugging lab .  The problem there was that every time you create a new XmlSerializer object with a non-default constructor, you generate a new dynamic assembly that contains the definition and methods for the serializer.  Since assemblies can’t be unloaded from a process unless the application domain they are loaded in is unloaded memory will keep increasing if...
  • If broken it is, fix it you should

    New Visual Studio 2010 and .NET 4 debugging content

    • 0 Comments
    It’s been a pretty busy few weeks at work coupled with some vacation so I’ve been lagging a bit with the blogging, so sorry for bombarding the blog with new posts now:) As you all know, Visual Studio 2010 just released and there is a lot of new content out there and I thought I’d mention a few in the debugging/troubleshooting space. ScottGu wrote a post on the VS 2010 debugger improvements as part of his VS 2010 and .NET 4 post series where he talks about news with Data Tips and Breakpoints. The...
Page 1 of 11 (252 items) 12345»