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

Paul Seal
10 November 2015

Maintain scroll position on postback

If you want your site to maintain the current scroll position when the page reloads or when you go to another page, this post should help you. It is ideal for paging, or for sites where you don't want to submit a form using Ajax, but you still want it to stay in position. Read More

Paul Seal
05 November 2015

lorempixel Placholder Images

This gives you real placeholder images to use in your site concepts or examples. It randomly picks an image each time the page loads. Read More

Paul Seal
03 November 2015

Lazy loading images

This post gives you the code to allow your page to load faster, by using lower quality images firstly and then replacing them with the higher quality version after the page has loaded. Read More

Paul Seal
27 October 2015

Google maps javascript API example with a styled map and custom pin icon

A lot of websites use google maps to show their location, but they usually leave it with the default style. This post gives you the code I use to generate a map and shows you how to style it. It also shows you how to add a custom map pin icon. Read More

Paul Seal
23 October 2015

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 this one Read More

Paul Seal
21 October 2015

XML Sitemap in Umbraco website

This post shows you how to create an XML sitemap in your Umbraco website. I will share the code I have used to create my XML sitemap page http://www.codeshare.co.uk/xmlsitemap You will need an XML sitemap when you submit your site to search engines. Read More

Paul Seal
19 October 2015

Create a redirect page in Umbraco without editing the config file

If you or your client needs to be able to create short urls or links to other sites without wanting to add it as a redirect in the web config, then this is the post for you. You can create them as umbraco pages that act as fast links or redirects. Read More

Paul Seal
16 October 2015

Font Awesome Social Share Icon Links

You may have noticed the links on my site after each article which let you share the article on social sites like Facebook and Twitter etc. This post gives you the code I used for the icons on my site. Font gives you access to hundreds of icons, and allows you to stack them on top of eachother to create different icons. In this code example you will see I stacked the twitter icon on top of a circle and did the same for the other links. Read More

Paul Seal
12 October 2015

Dynamic placeholder images

I found this and thought it would be really useful, especially for designers or people mocking up sites. If you ever need a placeholder image, you don’t need to create one, you can just use this url with the size of placeholder image you want: Read More

Paul Seal
09 October 2015