by clintmcmahon | Jan 23, 2023 | ASP.NET, Azure, B2C, C#, Code
This post is about how to add role claims to an Azure B2C user flow access token. Azure B2C comes with a standard set of built-in attributes like City, Display Name and Street Address. When configured these attributes can be returned to the calling application via the...
by clintmcmahon | Jan 12, 2023 | ASP.NET, C#, Code, SQL Server
Since the release of .Net Core and the dream of cross-platform development became a reality I’ve been eager to switch my development machine from a Windows laptop to my Macbook Air. I’m happy to say that I’ve been running 99% on a Mac since July of...
by clintmcmahon | Dec 20, 2022 | Code, Consulting, Data Viz
Overview A request I get from clients that do heavy processing with R is they want to migrate from R Shiny to a modern web framework like React, Angular or Vue. Their setup usually consists of websites running in a R Shiny package that connects to a database and...
by clintmcmahon | Oct 18, 2022 | ASP.NET, C#, Code
This is where you can find the .Net user secrets location in Windows and Mac: Windows: %APPDATA%\Microsoft\UserSecrets\<user_secrets_guid>\secrets Mac: ~/.microsoft/usersecrets/<user_secrets_id>/secrets.json
by clintmcmahon | Sep 20, 2022 | Code, Data Viz, JavaScript, React, Weather
In this post I show a React Highcharts example to demostrate how I’m using Highcharts with React in my data visualization projects. Assuming you are starting from scratch I’ll go from start to end. If you already have an app created then you can skip the...
by clintmcmahon | Jul 18, 2022 | Code, JavaScript, Music, React
KEXP is a radio station in Seattle that I’ve listened to regularly almost every day for the past twenty years. Since I live in Minneapolis I use their streaming service to listen via their app, my Sonos or a desktop player. During the work day I via my desktop...