Tobias Moe Thorstensen

..thoughts on software development

Running Seq in Azure

Seq is one of my favorite logging and monitoring tools out there. Unfortunately Azure does not have built-in support to run Seq as a SaaS offering. But don't worry, this guide will walk

  • Tobias Moe Thorstensen
    Tobias Moe Thorstensen
2 min read

Substitute environment variables for a frontend app served by Kestrel

When serving a website from a docker container, we usually create a multi staged Dockerfile using nginx as our web server. The Dockerfile probably looks something like this: ... left out for brevity... FROM

  • Tobias Moe Thorstensen
    Tobias Moe Thorstensen
2 min read
.NET 6

TWIL: Serializing DateOnly and TimeOnly with System.Text.Json

This week I learned that serializing and deserialzing the new structs included with .NET 6, DateOnly and TimeOnly, is not supported by System.Text.Json.JsonSerializer. You´ll need to write custom converters

  • Tobias Moe Thorstensen
    Tobias Moe Thorstensen
1 min read
Azure Web Pub Sub

A look at Azure Web Pub Sub

Microsoft recently announced that a new service for publish and subscribe scenarios has been made available in Azure. The new service has been branded Azure Web Pub Sub. The service is a managed,

  • Tobias Moe Thorstensen
    Tobias Moe Thorstensen
2 min read

Azure Front Door: A practical example. Part 2.

In part two exploring Azure Front door we'll take a look at routing rules and load balancing services in our backend pool. This article is based upon the application and resources we created

  • Tobias Moe Thorstensen
    Tobias Moe Thorstensen
6 min read

Azure Front Door: A practical example. Part 1.

Azure Front Door is a global and scalable entry point that sits between your application and the internet. The service uses edge networks to route traffic to your fastest and and most available

  • Tobias Moe Thorstensen
    Tobias Moe Thorstensen
5 min read
GitHub Actions

Deploy a .NET 5 web application to Azure App Service using GitHub Actions

Introduction GitHub Actions is probably my favourite DevOps tool out there due to its extensibility and tight integration with platform itself. In this article we will take a look at how deploy a

  • Tobias Moe Thorstensen
    Tobias Moe Thorstensen
4 min read

Error handling with ASP.NET Core

Lets face it: Exceptions happens, it's about how we deal with them. There are obviously several ways to propagate the error back to consumers of our api. This article demonstrates my preferred way.

  • Tobias Moe Thorstensen
    Tobias Moe Thorstensen
2 min read

Versioning ASP.NET Core APIs

Versioning is key when developing APIs, especially if they're exposed outside of your team or organization. What would you do if an API your application consumed suddenly changed input parameters or changed its output?

  • Tobias Moe Thorstensen
    Tobias Moe Thorstensen
4 min read
Tobias Moe Thorstensen © 2023
Latest Posts Casperion Ghost Theme