I used IEnumerableAsync SO WRONG

This ties to my site https://MtgDiscovery.com - A shock, right? Sometimes I have to update sets and re-ingest data. This happens a lot when the feed doesn't align with how I collect the cards. Best example is when the size of the set represented on the "booster" cards…

Exception Re-Throw

I've written about the proper way to re-throw an exception before https://quinngil.com/2022/07/28/exception-throwing/ and now I have an update. I created myself this extension method to encapsulate this throwing mechanism AND to help ignore the need for the unreachable throw. public static class ExceptionExtensions { public…

CosmosDb Abstraction

CosmosDb components are a pain to test. There's almost a 1/2 dozen objects to fake and configure to be able to get back the object you want to then do work on for the test. This can be abstracted from the test and hide the complexity in some class…

A MONTH!?

It's been a month... SIGH oh well. I'm bad at this. What have I been doing? Lots of ... stuff? OK; not much. Let's check my MtgDiscovery.com git history and see if anything interesting is going on there... Nope. Not a lot. Probably would have something if I used good…

DB Swap

Last post I mentioned about swapping the DB for some data. Well... I've done it. Mostly done it. I've got code written for it. I still need to get the IaC set up for the DB and connection strings... blah blah... I got the code ... some code... written. Ignoring the…

TDD - It's not just for testing

I have to rework a huge piece of my site (MtgDiscover.com) for collecting magic cards. Specifically, the cosmos document for my collection got to big. So I need to switch to Azure SQL. I have 4 queries that run against my collection document. They are very basic. Any additional…

Abstract the OS

Abstracting the OS - The pain felt of not listening to my own practices. I'm trying to shift my website to run on a linux app service plan instead of windows. It'll save me $40+ per month, so... worth it. That's 4 extra boxes of booster packs I can get…

Still No Primitives

Working on my Magic: The Gathering site (mtgdiscovery.com) I have to tweak it to hand a new(er) style of foil on the card; "Etched". The data feed I've been using has it different than foil or non-foil. SO... That was fun. Note: I'll be updating all to use…