Maximilian Riegler

Hi, I'm Max.

Notes from a software engineer in Austria — Azure, .NET and C#, EF Core, and the occasional debugging story that took longer than it should have.

Latest posts

· 4 min read

Grabbing Snowflake Session Tokens for External OAuth

Last summer, I was working on a project that required integrating Snowflake's Cortex Analyst API with external OAuth authentication through Azure AD. The challenge seemed straightforward at first: authenticate users via Azure AD, connect to Snowflake, and make API calls to Cortex Analyst. But I quickly hit a frustrating wall…

· 1 min read

Hosting a SPA on Azure Static Web Apps

I'm currently dabbling a little with React and also Azure to learn some new things. In this case how to set up a single page application on Azure's Static Web Apps service. This is mostly very straight forward if you have dedicated files for all your routes, which Next.js does…

· 2 min read

EF Core 5 Upgrade - collation shenanigans

Today I stumbled over a pretty weird problem at work, where I already initially thought it must've been from either a framework or a database upgrade. I was in the middle of doing some code first database entity modelling, creating a migration for it and updating the database, when I…

· 4 min read

Reverse Engineering Detour

While browsing gamedeception.net out of curiosity, as I often do, I came across various new threads. This led me to think, "Why not create a hook from scratch?". So, I spent hours researching detouring techniques. A few basics about my project: The goal is to develop a DLL containing function…