.NET

Targeting .NET 4.7 from Visual Studio 2017

Developer tools have a way of stumping you in the most unexpected of ways. This post analyses and then illustrates how to get VS 2017 list .NET 4.7 as a target framework for your projects, minus the pain.

C# 7 Says Hello World!

My favourite features from the newly minted 7th edition of my favourite programming language C#!

C# 6.0 Features Not Working with MVC 5 / Visual Studio 2015 / Razor

How I got out of the dreaded yellow screen of death in an MVC5 project

WCF service startup error "This collection already contains an address with scheme http"

Fixing WCF Deployment issues on shared hosting

Avoiding an Identity Crisis (in your apps)

In your code, an entity requires a unique ID - A Customer ID, Order ID, Message ID. SQL Identity columns do not cut it for you and the default GUID class isn't suitable either. There's hope though!

IDisposable Pattern - A refresher on the need and correct implementation

One may wonder why another post on IDisposable? After all, how difficult could an implementation of an interface that has only one void parameter-less method be? Well, read on to find out.

Double Check Locking in C# - End of life?

After having a discussion with a colleague, I was researching for the correct way to implement double-check locking in C# and .NET 4.5. Turns out a lot of water has flown under the bridge and things have changed quite a bit. I'll try to document my findings here.

NUnit Assertions - IsAssignableFrom and IsInstanceOf

Tiny goodies from my experiences with NUnit

Logging Frameworks for .NET

A monologue about the available options when it comes to logging frameworks for .NET applications

ASP.NET Web API - Content Negotiation, Content-Type, Accept and Accept-Charset in a nutshell

My take on content negotiation, REST, HTTP and how it all comes together in ASP.NET Web API

First Chance exceptions - What are the chances?

Ever noticed your Visual Studio output windows show pesky First Chance exception messages? Read on to find out what they are.