Search

How to show UTC time relative to the user's local time on a .NET website

This post gives you the code I found to help you get a user's country and culture code and display a UTC date and time relative to the user who is viewing in their browser.

Read More

How to migrate or downgrade a SQL Server database to a lower version

This post shows you how you can migrate or downgrade a SQL Server database from one version to a lower or earlier one. E.g. 2016 to 2014, 2014 to 2012, 2012 to 2008 etc

Read More

How to convert SQL Server Compact Edition .sdf to Full SQL and speed up Umbraco

This post shows you how to convert a SQL Compact Edition database to full SQL and speed up Umbraco

Read More

Regular Expression (regex) for a number greater than 1200

In 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.

Read More

How to create a page view hit counter in Umbraco

This post gives you a tutorial on how to create a page view hit counter in Umbraco for recording page views.

Read More

How to export data to Excel as a CSV file in C#

This post shows you how you can create the functionality to export data as a CSV file to download and open in Excel.

Read More

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, real…

Read More

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

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

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
Top