Blog posts

178 results found

178 results in .NET, DevOps, Umbraco

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

dotnet How to create a random password generator in C#

In this post I will show you how to create your own password generator in C#. It can be used to generate random strong passwords and it complies with recommendations from OWASP

dotnet LINQ method to see if two lists contain a match

This post gives you the code to check if two lists contain a match. It is written in C# and uses LINQ.

dotnet 7 simple tips to improve your .NET website

Here are 7 simple tips to help you improve your .NET website

umbraco Tutorial how to create member login and logout form in Umbraco MVC

This post is a step by step tutorial with instructions for creating a simple login form and logout button in Umbraco MVC.

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

umbraco Getting Dialogue Forum package to work with Umbraco 7.4.3

This post shows you how to overcome the problems with installing the Dialogue forum package in your Umbraco site.

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

dotnet How to set up and configure error logging in .NET with log4net

This is a simple and straight forward tutorial on how to set up and configure error logging with log4net in your .NET application.

dotnet Searching for prime numbers

Searching for prime numbers can be fun. This post shows you how I did it.

dotnet How to create a custom Slack integration using webhooks

This post gives you the code and simple instructions on how to create your own custom integration for slack, written in .NET C#

dev·dotnet Why you should not write comments in your code.

Over the years, I have heard both sides of the argument about whether you should or shouldn't write comments in your code. In this post, I make my argument as to why I think you should avoid writing comments in your code.