MVC Custom Model Property Validation Attributes

This post shows you how to create your own custom validation attributes in MVC. You can then decorate your model properties with them on your forms. Read More

Paul Seal
19 January 2016

Simple Umbraco search example

This post shows you how easy it is to use the default Umbraco search functionality in your site. It uses a basic form and then uses razor to display your search results. Read More

Paul Seal
14 January 2016

How to create url rewrite rules in Umbraco

This post teaches you how to set rewrite rules for your umbraco site. You may want to force your site to go to a secure url or force it to go to a url with www. at the start. To add these rules, you need to go to the file /config/UrlRewriting.config Read More

Paul Seal
11 January 2016

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

Paul Seal
08 January 2016

The Pomodoro Technique®

I’ve been hearing a lot of good things about the The Pomodoro Technique® for improving productivity. Basically, you work really hard and focus for 25 minutes without interruption and then you have a 5 minute break from it. You then go again for 25 minutes and have a 5 minute break from it, and so on and so on. Read More

Paul Seal
05 January 2016

Free productivity tool - Workflowy

If, like me, you like to write lists to help you focus on what’s required to complete a certain job, and sometimes break the bullet points into mini lists themselves, then this online tool should help you. Workflowy allows you to do just that, it’s free, really easy to use, and it is available on web, iOS and Android. Read More

Paul Seal
23 December 2015

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 programming language. Read More

Paul Seal
22 December 2015

SHA 256 and SHA 512 hash examples

This post contains examples of how to generate a SHA 256 and SHA 512 hash key with the examples in C# and VB.NET This solution matches the expected result for Ingenico's implementation for their payment gateway. Read More

Paul Seal
03 December 2015

LINQPad

I recently came across this fantastic resource. It is called LINQPad. You can use it to test any C#, F# or VB snippet or program. You can even use it to query databases in LINQ or SQL. It's ideal if you find some code on the internet that you want to quickly test, or if you want to play with the new features in C# 6 without having to set up a windows console/forms app or website. Read More

Paul Seal
30 November 2015

MVC client side form validation

This post shows you how you can do client side, unobtrusive validation on your MVC form. It assumes you have already set up your Model, View and Controller, but you just need to know how to get it to validate on the client side. Read More

Paul Seal
20 November 2015