The time to upgrade your PC is now

The SSD drive technology, processors with 4 cores with hyperthreading (now becoming 6 core), DDR 3 memory sticks, powerful graphic cards. If you’ve been waiting to upgrade you PC for a few years, there’s now time like today to start...

Unit testing code that uses HttpContext.Current.Session

In process of writing unit test for NecroNetToolkit (yes, I know I should have written tests first) I needed to test a proxy class that stores and retrieves values from HttpContext.Current.Session. It’s kind of pain, because you can’t mock HttpContext...

NecroNetToolkit Mail API

In a lot of web projects, you need to send out emails. It may be to notify user that his registration has been successful, his order has been received etc. as well as notify site administrator about various events. There...

I heart Windows Phone wallpaper

I've been looking for this wallpaper for some time now, until i finally found it. Just putting it here to have easy access to it. Various sizes of this wallpaper are available for download here: http://liveviews.spaces.live.com/Blog/cns!ACAA9A3B4D2792FE!3291.entry.

Unit of Work pattern in NecroNetToolkit

I’m not going to explain the pattern and implementation here. There is an article where the pattern and implementation is explained with full code you can download. You notice it’s an implementation for NHibernate, so I rewrote it to make...

Generate repositories for Entity framework data model with Ctrl+S

I already explained how to make repositories simpler, by deriving from generic base. But the fact you need to create a repository for each entity in the data model still seemed like too much repetitive work. So I inspired by...

Animated transitions between pages in WPF/Silverlight without any code

First of all, let me just start by saying this: if you are doing WPF/Silverlight and are not using Expression Blend, go to this page and download it right away – you won’t regret it. I don’t know how I...

Visual Studio 2010 lanches today

What a glorious day. I was looking forward to VS 2010 for quite some time. I used beta 1, beta 2 and RC versions, getting more excited about the final version each time. It should be really awesome. Check it...

Generic repository for Entity Framework

The repetition of code in repositories I was previously writing got me thinking – is there a way to simplify and abstract this up the inheritance tree. Just to give you the idea of what it can do, here is...

Unit testing routes in ASP.NET MVC

There are some resources on unit testing incoming routes. Like you have an URL and need to know which route will it map to. For example this post from Phil Haack describes how to do it, or better yet, it’s...