avatar
Maximilian Riegler

Latest Blog entries:

Grabbing Snowflake Session Tokens for External OAuth

Posted on snowflakeoauthcsharpdotnet
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 qu...[more]

Loading Certificates in Azure Functions from Key Vault

Posted on azurecloudcsharpkeyvault
I was working on an Azure Function that needed to sign documents with a certificate. I stored the certificate and private key in Azure Key Vault, but when I tried to use it, I got a CryptographicException: Keyset does not exist. This error is frustrating because the key is definitely there. The ...[more]

Hosting a SPA on Azure Static Web Apps

Posted on azurespacloudhosting
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 a...[more]

EF Core 5 Upgrade - collation shenanigans

Posted on efcoredotnetcsharpsql
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 got struc...[more]

Reverse Engineering Detour

Posted on reverse engineering
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 pro...[more]