Coen Adrien van Driel

I'm a software architect and software quality & testing enthusiast. My focus is on using Microsoft technologies from C# to Azure to create awesome products.

I'm also the founder of ExpertSwitch, a software consulting company.

What Is The VAR Keyword In C# and Best Practices

Do you have a solid understanding of the pro’s and con’s of using var in C#? If yes, ignore this article and proceed as you were. If you’re in doubt whether you should use var or curious about the effects of using var, this is the article for you.Read more

September 29, 2019

Accessing Your AppSettings.json And Using Strongly Typed Settings In ASP.NET Core MVC

The new way of using configuration settings in ASP.NET Core MVC is via an appsettings.json file within your Web project. No more XML configuration files (even though you still can), instead, a modern implementation of a multi-environment configuration system is built into ASP.NET Core MVC.Read more

April 03, 2019

Disabling Caching For System.Net.WebClient In .NET

Caching is great, until it’s not. Like when you keep getting the old data from an API even though the underlying data has been updated.Read more

April 03, 2019

OpenGL And DirectX On Azure Virtual Machines

Azure Virtual Machines by default don’t come with GPU capabilities, making them mostly useless for processes that require a GPU in anyway. I recently ran into this issue when publishing my 3D modelling application that uses ParaView for image rendering from my local development environment to my Azure VM. The classic ‘but it worked on my PC’-line soon followed. Read more

Using Azure Storage and Azure Content Delivery Network (CDN) to Host Your Website's Files, Images and Static Content

Your website or webapp often requires static content (e.g. images, files) to fully function as intended. Hosting these files within your app-directory is fine up to a point, but as your website grows, it will soon become unmanageable. Transitioning to a Content Delivery Network (CDN) can be the solution you need to combat storage and performance issues.Read more

Forwarding Domain Names with ASP.NET Core and Azure Web Apps

A common issue when registering domain names is the question whether you should purchase multiple TLD’s to accommodate for spelling variations, or preemptively purchase domains for future projects to prevent competitors to get ahead. This article will demonstrate how to forward one domain name to another domain name using ASP.NET Core and Azure Web Apps.Read more

January 14, 2019

Visual Studio 2019 New Features and Release Date

The latest edition of Visual Studio is almost ready for general availability (GA) and Microsoft has released Visual Studio 2019 Preview for download (Windows and Mac) to show us the latest improvements over Visual Studio 2017.Read more

December 27, 2018

How To Ping Your Azure Virtual Machine

When you have created your Virtual Machine in Microsoft Azure the easiest way to test connectivity is to ping your Virtual Machine. By default, ping is disabled for Azure Virtual Machines. In this article I will explain the steps required to enable pinging for your Azure Virtual Machines.Read more