Rico Suter's blog.
 

Articles

Hosting an Nginx Reverse Proxy in an Azure Web App for Containers (App Service)

Article describing how to set up an Azure Web App for Container to act as a Nginx reverse proxy to an other application.
Read More ›

How to set up an ASP.NET Core project with multiple API versions, OpenAPI generation and Azure API Management

How to set up an ASP.NET Core web API project with multiple versions, automatic generation of multiple OpenAPI specifications with NSwag and uploading them to Azure API Management.
Read More ›

Azure Event Hubs: Improve scalability with batch parallelization

In our initial implementation we just read a batch of messages from the partition and process the messages within the batch in sequence. However at some point we reached a limit and we couldn't use all CPU resources of the machines we used - mainly because half the work of one message is I/O bound.
Read More ›

Azure DevOps: My versioning flow to publish .NET packages from a GitHub repository

This guide shows how to enable CI/CD builds to handle versioning and publishing .NET projects from a GitHub repository to NuGet feeds.
Read More ›

Dependency Injection in .NET: A way to work around missing named registrations

The default .NET dependency injection container does not provide a way to register named services. This article shows a technique to solve this by adding a generic marker parameter to the service interface so that it can be registered multiple times and resolved with the marker type.
Read More ›

Logging with ILogger in .NET: Recommendations and best practices

This blog describes and outlines some best practices for using new the logging system which has been introduced with .NET Core but is also available in all .NET Standard 2.0 supporting .NET frameworks.
Read More ›

Technology Summary: Azure Blob Storage

Microsoft Azure Blob Storage is used to store big chunks of binary data to access from other cloud services. The technology is mainly used as replacement for a shared file system which is not available in the cloud.
Read More ›

Azure DevOps: How to update the Azure Function default Host Key in a PowerShell task

For a recent project I dynamically create new Azure Functions in an Azure DevOps release pipeline. One of the requirements was to automatically update each default Host Key to a given value so that it's easier to access the newly created HTTP functions.
Read More ›

Azure DevOps: Create a Web App for Containers CI/Release pipeline for an ASP.NET Core app

This article shows how to create a Web App for Containers CI/Release pipeline for an ASP.NET Core app.
Read More ›

C# 8: The output of Nullable Reference Types and how to reflect it

After reading some articles about the new C# 8 feature Nullable Reference Types, one question still was unanswered: How does a compiled assembly with nullable types enabled look like and how can I access the nullability information via reflection? Because I couldn't find an article with an answer, I had to figure it out myself.
Read More ›