I have now installed Windows 8 developer preview on my main machine. I did this by looking at a couple of blog posts from primarily Scott Hanselman. Guide to Installing and Booting Windows 8 Developer Preview off a VHD (Virtual Hard Disk Less Virtual, More Machine – Windows 7 and the magic of Boot to [...]
Booting Windows 8 from a virtual disk
September 19th, 2011 by Björn Carlsson — Uncategorized
Tags: windows 8
Dapper-dot-net aka Micro-ORM
May 23rd, 2011 by Björn Carlsson — .Net
a simple object mapper for .NET After listening to Hanselminutes show #262 I became curious and have looked a bit at Dapper to check what it really is. First of all, it’s implemented as a single file you can drop in your project. It’s created for and at stackoverflow. I heard somewhere that it should [...]
Tags: .Net, Database, performance, programming
Using WinDbg to inspect native dump files
May 10th, 2011 by Björn Carlsson — Tips & Tricks
Just a very short instruction on how to inspect native dump files with WinDbg: Get and install and then start WinDbg File – Open Crash Dump ~*kb Lists all the threads and their call stacks. !locks Will show you the critical sections. LockCount – RecursionCount – 1 = the amount of times the lock has [...]
Getting started with managed dump files using WinDbg
April 26th, 2011 by Björn Carlsson — .Net
Why If you have an application built on pre .NET 4.0, you can’t use Visual studio to debug a dump file. Even if you can use Visual Studio, WinDbg offers a nice alternative and some extra features in some scenarios. For example help finding deadlocks and a faster way to scan a lot of threads. [...]
How to debug a short hang
April 14th, 2011 by Björn Carlsson — Testing, Tips & Tricks
What can I do? When Bob the tester comes, and tells me that the client application sometimes hangs for about 30 seconds, when Bob is doing nothing. This client, and a hand full of other clients are connected to a system of connected servers. The problem could be a busy server or some internal client [...]
Tags: .Net, performance, windows
Performance nightmare
March 5th, 2010 by Björn Carlsson — .Net, Tips & Tricks
22 to 0.3 seconds! I found a simple solution to a very common problem. While profiling I found that remove in this little method took a lot of the time. public void MovePropertyFirst(IProperty property) { properties.Remove(property); properties.Insert(0, property); } The reason was, that it’s time consuming to compare the properties by equality, for complex types. [...]
Tags: .Net, .NET Framework, performance, programming, windows
