How to fix corrupt accented characters in Excel for a C# export as CSV

This post will help you fix the issue where you csv export has corrupt characters when opening it in excel. Read More

How to include scripts from partial views in MVC and Umbraco

This post will show you how you can include scripts from inside an MVC partial view rather than having to put them in the view. Read More

How to solve the error "Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0 ..."

This post will show you how to solve the error "Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0..." Read More

How to upload multiple files at once in an MVC form

This post will help you if you need to upload multiple files at once in an MVC form.  The examples are for an umbraco website, but the principles are the same. Read More

How to force a .NET website to use TLS 1.2

This post shows you how you can force your .NET website to run using TLS 1.2 Read More

How to fix the MVC Textbox date time format issue

This post shows you how you can remove the time off the end of a date value when rendering it in an MVC TextBoxFor. Read More

HTML Extension method for returning formatted HTML from a string in C#

This post shows you how to create an extension method for returning formatted HTML from a string input Read More

A simple C# LINQ method to put an address on one line separated by commas

This post gives you a simple way of getting an address on one line, separated by commas and it ignores any blank lines. Read More

How to get the website domain address in Umbraco

This post shows you how to get the current umbraco website domain address including http(s):// in the simplest way possible. Read More

How to protect media items in Umbraco

This post shows you how to protect media in Umbraco. It works on the idea that you can put the media you want to protect in a parent folder, perhaps called 'Protected'. In that you can have your files and folders which are not public. But you can also have pub… Read More