Alex Davies

Follow Alex Davies via

20 September 2012
20 September 2012

My book is released – Async in C# 5

0
0
I’m pleased to announce that my book “Async in C# 5” has been published by O’Reilly! http://oreil.ly/QQBjO3 If you want to know about how to use async, and whether it’s important for your code, I thoroughly recommend reading it. It’s the best book about the subject I’ve ever written. In fact it’s probably the best … Read more
0
0
01 July 2012
01 July 2012

You can step over await

0
0
I’ve just found the coolest feature of VS 2012 by far. I thought that being able to silence an exception from the “exception was thrown” popup was awesome, and the “reload all” button when a project file changes is amazing, but this is way beyond all of that. You can step over awaits when you … Read more
0
0
15 June 2012
15 June 2012

An experiment: unlimited free trial

0
0
The .NET Demon team have just implemented an experiment that is quite a break from Red Gate’s normal business model. Instead of the tool expiring after the trial period, it now continues to work, but with a new message that appears after the tool has saved you a certain amount of time. The rationale is … Read more
0
0
10 May 2012
10 May 2012

.NET Demon support for VS 11 dark theme

0
0
I’m pleased to announce that .NET Demon will be shipping simultaneously with Visual Studio 11, whenever it ends up being released. That means we’re going to make sure that a version of .NET Demon is released very near to the Visual Studio 11 final release which supports the new version of VS fully. The interesting … Read more
0
0
09 April 2012
09 April 2012

Joined twitter @alexdcode

0
0
I reckon that I come across enough interesting C# and coding related stuff that I can keep a twitter account busy just with my thoughts on those subjects. I only have one follower so far, which makes me sad, so please follow me and make me feel popular. @alexdcod… Read more
0
0
08 April 2012
08 April 2012

AsyncBridge? Async on .NET 4.0 using VS11

0
0
I’ve just found something quite cool. It’s a code snippet that lets you use the real VS 11 C#5 compiler to write code that uses the async and await keywords, but to target .NET 4.0. It was published by Daniel Grunwald (from SharpDevelop). That means I can stop using the Async CTP for VS2010, which … Read more
0
0
16 January 2012
16 January 2012

A new toy – .NET Demon

0
0
I’d like to present a new tool for .NET Developers that we’ve been cooking up in the Red Gate .NET team. It’s only a beta at the moment, but it works for most people. .NET Demon Beta It’s a Visual Studio extension that cuts the time you spend waiting to find whether your code is … Read more
0
0
18 April 2010
18 April 2010

A better way to do concurrent programming

0
0
Programming to take advantage of multicore processors is hard. If you let multiple threads access the same memory, bad things happen. To avoid this, you use the lock keyword, but if you use that in the wrong way, your code deadlocks. It’s all a nightmare. Luckily, there’s a better way – Actors. They’re really easy … Read more
0
0
07 May 2009
07 May 2009

Why I don’t care where my objects are created

0
0
Back when we were designing the new memory profiler last year, Andrew had realised that there was one thing that made all the exisiting memory profilers slow the profiled application to a crawl. That was remembering the place in the program (the call stack) that every object gets allocated. We’ve decided to take this feature … Read more
0
0
15 April 2009
15 April 2009

The "Singleton" Design Flaw

0
0
In my earlier post I mentioned that there are a couple of design patterns that I think are wholly wrong. The one that I’m most convinced is an abomination is the singleton pattern. The basic idea is that you make a class that should only ever have one instance, and you provide that instance by … Read more
0
0
23 February 2009
23 February 2009

Hello world!

0
0
I’m Alex, and I’m going to start writing blog posts when I think of something interesting to say. I’ve been working in the .NET division for five months now, developing ANTS Performance Profiler and ANTS Memory Profiler (and a little bit of Exception Hunter when the mood takes me). Last year I was a computer … Read more
0
0