Blog
Paul Seal's personal blog
Blog posts
This post gives you the code create a meta data scraper so you can get information from a url, using HtmlAgilityPack in C#.
umbraco How to format the pre html tag in Umbraco for code blocksA simple approach to formatting your pre tags
umbraco Automatically resize your media images in UmbracoThis post shows you how you can add a class to your umbraco project which automatically resizes any new images in Umbraco.
dotnet Simple .NET keep alive handler to prevent timeoutThis 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.
umbraco How to reset the Umbraco admin account passwordThis post gives you simple instructions to help you reset the Umbraco admin password.
umbraco Umbraco Site Navigation Menu Model Example in C# MVCThis 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.
dotnet Simple Reusable .NET Caching Example Code in C#Caching is important because it can speed up your website or application. Here is a simple example for you to take away and re-use:
umbraco Umbraco HTML Sitemap Template Example Using RazorMost websites will have an HTML sitemap. There is an easy way to create one in Umbraco using razor. Just follow these simple steps.
dev That's a really good questionOne thing that really annoys me is when someone asks the guest a question they nearly always reply back with 'wow that's a great question' or 'that's a really good question.'
dev Regular Expression (regex) for a number greater than 1200In case you are looking for a regex to find a number greater than 1200 or something similar, I though I would post it so you can alter it for your needs.
dotnet How to fix Font Awesome WebFont woff2 not foundIf 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.
dotnet Switch between ajax and post back in the same formI 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.