Blog Posts

Resize Images with .NET Core

Resize Images with .NET Core

To resize images like PNG, JPEG, JPG and Co using .NET Core, there is no SDK support available today. But the Microsoft Mono team has written a wrapp

Add custom claims to token in Auth0

Add custom claims to token in Auth0

By default, the token of Auth0 does not contain any information about the user's name. The default claim for the name would be: http://schemas.xmlsoa

AWS Toolkit for Visual Studio 2019

AWS Toolkit for Visual Studio 2019

AWS (Amazon Web Services) offers an extra toolkit for Visual Studio 2017 and Visual Studio 2019 that integrates seamlessly to create projects based o

Upload to Azure Storage with PHP

Upload to Azure Storage with PHP

I had the wonderful task to change a 20 year old PHP software during a Lift-and-Shift migration to Azure, so that it doesn't store files directly in

Update Azure Storage Blob Properties with PowerShell

Update Azure Storage Blob Properties with PowerShell

In the past days I uploaded a lot of files to an Azure Blob Storage using the Azure Storage Explorer. Unfortunately, I forgot to specify system prope

Run MSSQL on Docker for Windows

Run MSSQL on Docker for Windows

For some time now, Microsoft has been providing various MSSQL Server versions for Docker - for Linux and for Windows. This means that spending a few

Twitch MediatR with ASP.NET Core

Twitch MediatR with ASP.NET Core

Twitch Twitch is the leading streaming platform for video games and Co. Starting small, Twitch hosts monthly over 3.5 million streamers that can be w

Fast SQL-Insert with C# and SqlBulkCopy

Fast SQL-Insert with C# and SqlBulkCopy

In .NET, there is a very fast and easy way to pump a variety of entities into an SQL database: SqlBulkCopy public void BulkInsert<TEntity>(stri

Load an image into a byte-array with C#

Load an image into a byte-array with C#

This pretty simply snippet exports your Image into a byte-array. public static byte[] ToByteArray(this System.Drawing.Image image) { using(Memory

Download a file with .NET

Download a file with .NET

The most current and currently recommended way to download .NET Framework, .NET Standard or .NET Core files from the Internet is the HttpClient class