List ForEach Method

You may or may not be aware of the .ForEach() Method which is available on List objects. It is very handy for shortening your code. Lets say you want to write a method which returns a list of MailAdress objects. A more traditional way would be to do the…

Read More

Get a flat list of exception and inner exception error messages

Debugging errors can be difficult, especially when you need to see the errors inside the errors. This post shows you how you can get all errors as a collection of errors rather than them being hidden inside other errors. You can create an extension method like…

Read More

Helper methods for retrieving web config app settings

This post gives you some examples of how you can check for errors when retrieving web.config app setting values.

Read More

Test your programming skills with Project Euler

If you enjoy writing code and solving puzzles, you will love Project Euler. It is filled with mathematical puzzles which require you to write some code to get the answer. You could use the problems as a chance to write out the solution in a different programmi…

Read More

Creating members in Umbraco programmatically

This post gives you the code for creating members programmatically in Umbraco. When you use this code, you can pass in the member's username, name, email address and optionally you can pass in their password and optionally assign them to a role/group.

Read More

Do what makes you feel uncomfortable

Throughout your career and life in general there will be times where you feel uncomfortable when doing a job or a task. Your natural reaction may be to stop doing that task (if you can get away with it) or you may want to avoid doing it all together. My advice…

Read More

How to create a custom styled twitter feed for your website

In this tutorial I show you how to create your own custom twitter feed for your website, which you will have full control over the styling, like the one I have on my about page. It also pulls through the follower count. This tutorial is meant for an MVC websit…

Read More

How to get the YouTube thumbnail preview image from a video

This post will help you if you want to get the preview image for a YouTube video. You may want to you this if you want to trigger the video to launch in a pop up window, or you want to link to the video.

Read More

How to use bundling to minify css and JavaScript in MVC and Umbraco

This post shows you how to set up and use bundling and minification in your MVC website. There are specific instructions on how set it up for Umbraco websites too.

Read More

What makes a good recruitment agent?

Over the years, I have had many interactions with recruitment agents. In fact, I got my last 2 programming jobs thanks to the help of recruitment agents. This post shares with you what I have learned about recruiters, what to look out for and how you can get t…

Read More