WinForms clipboard monitoring

A quick example showing how to monitor the clipboard in a WinForms project

Read more...

Posted by Matthew King on 2018-04-02

Simplifying filter strings for file dialogs in WinForms and WPF

Using my FluentFileFilterBuilder library to easily craft file filters for the WinForms and WPF file dialogs

Read more...

Posted by Matthew King on 2018-03-11

A Google Analytics TagHelper for ASP.NET Core

A simple ASP.NET Core Tag Helper that emits Google Analytics tracking code

Read more...

Posted by Matthew King on 2017-11-05

Setting a WinForms form to be hidden on startup

An overview of my preferred technique for setting a WinForms form to be hidden on startup (without the drawbacks of some of the other common approaches)

Read more...

Posted by Matthew King on 2017-11-04

Hosting and deploying ASP.NET Core apps with ZEIT Now

An overview of ZEIT Now, and a quick tutorial showing how to use it to host and deploy an ASP.NET Core app

Read more...

Posted by Matthew King on 2017-10-03

A better alternative to the WinForms Folder Browser Dialog using Ookii.Dialogs

A critique of the shortfalls of the WinForms FolderBrowserDialog, and a quick overview of the alternative provided in the Ookii.Dialogs project

Read more...

Posted by Matthew King on 2017-05-02

What I install on a fresh Windows development PC

A short overview of the software that I always install on a fresh Windows PC to get up-and-running for .NET development

Read more...

Posted by Matthew King on 2017-03-12

Documenting Task returns (in C# XML Documentation Comments)

Some recommendations on how to write XML Documentation Comments for methods that return a Task object.

Read more...

Posted by Matthew King on 2017-02-16

Using Visual Studio Code as the default Git editor

A quick guide on how to set up VSCode as the default Git editor.

Read more...

Posted by Matthew King on 2016-10-14

Registering services with Scrutor

Using Kristian Hellang's Scrutor library to scan and automatically register dependencies with the Microsoft.Extensions.DependencyInjection IoC container.

Read more...

Posted by Matthew King on 2016-09-03

Generating a unique identifier for a Windows PC

Using my DeviceId library to generate unique identifiers for Windows PCs

Read more...

Posted by Matthew King on 2016-07-31

SourceTree custom action: Open solution in Visual Studio

A quick guide demonstrating how to set up SourceTree custom actions to search a repository for a Visual Studio Solution File and then open it in Visual Studio.

Read more...

Posted by Matthew King on 2016-05-25

Enabling tab on WinForms property grids

An in-depth look at how to extend the WinForms PropertyGrid control to enable tab-navigation between properties.

Read more...

Posted by Matthew King on 2016-05-24

A new blog

Moving from Ghost to Hugo

Read more...

Posted by Matthew King on 2016-05-21

Programmatically launching ClickOnce applications

An in-depth look at the various ways that ClickOnce applications can be programmatically launched.

Read more...

Posted by Matthew King on 2014-05-27

Fixing GeoCoordinateWatcher's event handlers

Identifying and fixing a bug in GeoCoordinateWatcher's event handlers.

Read more...

Posted by Matthew King on 2014-04-12

Grouping files in Visual Studio

A quick tutorial on how to nest/group files within Visual Studio using the <DependentUpon> property in a project file.

Read more...

Posted by Matthew King on 2014-03-14

Fun with C# dynamics

A brief introduction to C# 4's dynamic keyword, and the fun that can be had with it.

Read more...

Posted by Matthew King on 2014-02-09

Forging Skype quotes

A overview of how Skype quote elements are structured, and a program that allows them to be forged.

Read more...

Posted by Matthew King on 2014-02-04

Ruby: The Good Parts

In the spirit of Douglas Crockford's book 'Javascript: The Good Parts', I present an exhaustive list of the 'good parts' of Ruby.

Read more...

Posted by Matthew King on 2014-01-13

Quick and easy custom syntax highlighting in a WinForms text box

A look at how to use the FastColoredTextBox library to get quick and easy WinForms syntax highlighting.

Read more...

Posted by Matthew King on 2014-01-11

Password security best practices (with examples in C#)

A brief rundown of some of the common mistakes people make with password security, and then an overview of some 'good practices' (with examples in C#).

Read more...

Posted by Matthew King on 2013-12-02

Cue banners in WinForms

A look at how WinForms text boxes can be extended to have a 'cue banner' (that greyed-out placeholder or explanatory text often seen in text fields).

Read more...

Posted by Matthew King on 2013-11-30