Understanding Threads and Static Classes in C#
Writing static classes can cause problems if thread safety isn"t properly considered. In a program I helped write, some surprising results occured which could have easily been avoided by ensuring my properties weren"t getting shared between threads. Read on to find out what I learned...
Making Umbraco Nodes with the Models Builder
In my latest Umbraco website built I have been getting friendly with the new Models Builder that is included by default. In this post I show how the Models Builder can be used with the Content Service to create new Umbraco nodes programmatically.
How to render MVC emails with CSHTML
Tired of using string formatting to create emails in your code? Read here to find out about how to build HTML emails using MVC, Razor and CSHTML.
Caching Umbraco web API controllers
Caching improves load time for everyone. Here I explain how easily make caching work with Web API controllers.