Basic HTML5 Template Layout Example

This is just a quick post to give you some sample HTML5 basic markup. You can just copy the markup, paste it into your file and start writing the HTML.

Read More

How to set up GA Event Tracking in 3 easy steps

This post makes setting up Event Tracking with GA really easy. It's definitely worth doing on your site.

Read More

How to scrape meta data from a url using HtmlAgilityPack in C#

This post gives you the code create a meta data scraper so you can get information from a url, using HtmlAgilityPack in C#.

Read More

How to format the pre html tag in Umbraco for code blocks

A simple approach to formatting your pre tags

Read More

Simple .NET keep alive handler to prevent timeout

This post shows you how to create a simple keep alive for a .NET website so people can stay logged in whilst the page is open, instead of it timing out after 20 minutes.

Read More

Umbraco Site Navigation Menu Model Example in C# MVC

This post gives you the basic code to loop through the pages in your site and populate the navigation model. It also gives you the code to add it to and call it from the cache.

Read More

Umbraco HTML Sitemap Template Example Using Razor

Most websites will have an HTML sitemap. There is an easy way to create one in Umbraco using razor. Just follow these simple steps.

Read More

How to fix Font Awesome WebFont woff2 not found

If you are getting the error fontawesome-webfont.woff2?v=4.6.3 not found but you definitely know you have the file, here is how to fix it in IIS.

Read More

Switch between ajax and post back in the same form

I realised that I needed to change the mode of the form depending on which button was pressed. So I came up with this bit of javascript/jquery.

Read More

How to get the file path of a media item in umbraco

This post shows you how to get the file path of the item so you can use it for the src of an image or as a link to a document.

Read More