avatar
Maximilian Riegler

Posts tagged: csharp

View all tags

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]

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]