Advent of Code 2022
01 Dec 2022 #writing #csharpThis year, inspired by C# Advent and 24 Pull Requests, I decided to do my own Christmas challenge: my own Advent of Code. I prefer to call it: Advent of Posts. Starting on December 1st, I’m publishing 24 posts, one post per day.
The challenge is to write an article per day in about 2 hours, including proof-reading and banner design. I’ve written some of the post in advance to avoid content pressure.
Here is my Advent of Posts:
- Day 1: How to write tests for HttpClient using Moq
- Day 2: TIL: Always check for missing configuration values inside constructors
- Day 3: TIL: How to test an ASP.NET Core Authorization filter
- Day 4: On Unit Testing Logging and Log Messages
- Day 5: I stopped using leading or tricky questions in Code Reviews
- Day 6: How to replace BackgroundServices with a lite Hangfire
- Day 7: I’m banning Get, Set, and other method and class names
- Day 8: Let’s refactor a test: Store OAuth connections
- Day 9: How to rename Visual Studio projects and folders with Git
- Day 10: TIL: How to replace keywords in a file name and content with Bash
- Day 11: TIL: How to automatically insert and update audit fields with OrmLite
- Day 12: Four things I wished I knew before becoming a software engineer
- Day 13: TIL: Five lessons I learned after working with Hangfire and Ormlite
- Day 14: How to write good unit tests: Use simple test values
- Day 15: How to create ASP.NET Core Api project structure with dotnet cli
- Day 16: Six helpful extension methods I use to work with Collections
- Day 17: Three lessons I learned after a “failed” project
- Day 18: Lessons I learned from my ex-coworkers
- Day 19: Lessons I learned as a code reviewer
- Day 20: Dump and Load to squash old migrations
- Day 21: To Value Object or Not To: How I choose Value Objects
- Day 22: Let’s refactor a test: Remove duplicated emails
- Day 23: -
- Day 24: -
Happy coding!