Quantcast
Channel: Brian Elgaard – Life, code and everything
Browsing all 16 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Life, code and everything

I decided to give my blog the title Life, code and everything. Why? I did it for two reasons. Firstly, because I am a passionate software developer so I will mainly write about code; but I also have a...

View Article



Image may be NSFW.
Clik here to view.

WPF: Making combo box items disabled – also when accessed using the keyboard

When I first embarked on WPF I ran into a number of small problems. Here is one of them. The problem I tried various ways to make my data bound combo box items disabled. I found that binding the...

View Article

Image may be NSFW.
Clik here to view.

WPF: How to mark an input field as not valid

I wanted to add to my input controls a visual clue that tells if the current content of the control is valid. The visual clue I had in mind was a red squiggly line, similar to the way MS Word...

View Article

Image may be NSFW.
Clik here to view.

Silverlight and WPF Single-Sourcing – XAML namespaces

I have found that WPF and Silverlight XAML are sufficiently different to make single-sourcing difficult. At first I did not know if it was possible at all, but I knew one thing – the differences in...

View Article

Image may be NSFW.
Clik here to view.

The Silverlight 3 SelectedIndex bug

There is a Silverlight bug which bothers a lot of users worldwide – if you bing the issue you will find quite a few hits. The Problem The problem is simple to state. Create a combo box and bind to the...

View Article


Image may be NSFW.
Clik here to view.

Setting the Windows Phone 7 SMTP Port

I am now the happy owner of a Windows Phone 7 device, Samsung’s Omnia 7. I am a happy user of Samsung’s hardware as well as Microsoft’s software, including the new Metro user interface, My Phone’s...

View Article

Image may be NSFW.
Clik here to view.

Multiple Asserts in a Single Unit Test method

The title of this post is a provocation to many people who have read and love Roy Osherove’s brilliant book, The Art of Unit Testing. In this book Roy clearly states that one of the pillars of good...

View Article

Image may be NSFW.
Clik here to view.

Even More Asserts in a Single Unit Test Method

In my last post I stated that sometimes it is OK to have multiple asserts in a single unit test method and I devised a helper class MultiAssert for that. Please do not get me wrong – I am a great...

View Article


Image may be NSFW.
Clik here to view.

Continuous Delivery

How does the topic Continuous Delivery fit in a blog which is mainly on code architecture and code crafting? In this post I hope to convince you that it fits quite well. I am working on a team which...

View Article


Image may be NSFW.
Clik here to view.

The ABC of Continuous Delivery

You probably know the triple L of real estate: location, location and location. In the same way some would argue that the three most important focus areas, the triple A of continuous delivery, are...

View Article

Image may be NSFW.
Clik here to view.

Coding for Continuous Delivery – the SOLID Principles

I never thought that I would find myself blogging on the topic of SOLID Principles. Not that I think it is unimportant, because it certainly is an important topic, it is just that it is so easy to find...

View Article

Image may be NSFW.
Clik here to view.

Continuous Delivery – a Safety Net will make you Lazy

I sincerely believe that some kind of safety net is needed when coding. In fact I believe that having a safety net is especially important when doing continuous delivery. Before I managed to blog on my...

View Article

Image may be NSFW.
Clik here to view.

Building a Safety Net for Continuous Delivery with Developer Tests

It is impossible to develop a software system with a certain level of complexity unless it is built on top of a smaller working system. I wanted to credit Bjarne Stroustup for expressing this point of...

View Article


Image may be NSFW.
Clik here to view.

Setting the Windows Phone 7 SMTP Port

I am now the happy owner of a Windows Phone 7 device, Samsung’s Omnia 7. I am a happy user of Samsung’s hardware as well as Microsoft’s software, including the new Metro user interface, My Phone’s...

View Article

Image may be NSFW.
Clik here to view.

Even More Asserts in a Single Unit Test Method

In my last post I stated that sometimes it is OK to have multiple asserts in a single unit test method and I devised a helper class MultiAssert for that. Please do not get me wrong – I am a great...

View Article


Image may be NSFW.
Clik here to view.

Building a Safety Net for Continuous Delivery with Developer Tests

It is impossible to develop a software system with a certain level of complexity unless it is built on top of a smaller working system. I wanted to credit Bjarne Stroustup for expressing this point of...

View Article
Browsing all 16 articles
Browse latest View live




Latest Images