Josiah T Mahachi·Feb 4, 2025A Clean and Efficient Way to Select Handlers with a Dictionary in C#Today, I’d like to share a practical solution I recently implemented in one of my projects where I needed to select the correct “handler”…A response icon1A response icon1
Josiah T Mahachi·Feb 4, 2025Understanding SOLID PrinciplesWriting maintainable, scalable, and testable code is crucial in software development. The SOLID principles — Single Responsibility…
Josiah T Mahachi·Dec 1, 2024Using Powers of 2 to Store Flags in Entity FrameworkStoring binary data in powers of 2, commonly known as bitwise flags or flag-based enums, is an elegant way to represent multiple boolean…
Josiah T Mahachi·Oct 18, 2024C# Pattern Matching ExamplesPattern matching in C# is a powerful feature introduced in C# 7.0 and has been enhanced in later versions. It allows you to test…
Josiah T Mahachi·Oct 14, 2024Entity Inheritance in Entity FrameworkI recently had the opportunity to implement both Table-Per-Hierarchy (TPH) and Table-Per-Type (TPT) inheritance strategies in Entity…
Josiah T Mahachi·Oct 13, 2024Implementing Feature Flags in ASP.NETFeature flags, also known as feature toggles, are a nifty mechanism in modern software development, enabling devs to deploy new features…
Josiah T Mahachi·Oct 11, 2024Exploring Deployment Strategies for Modern ApplicationsIn today’s fast-paced digital environment, deploying software updates efficiently and safely is critical to maintaining uptime and ensuring…
Josiah T Mahachi·Oct 10, 2024Understanding Transactions in .NET: A Guide to TransactionScope and Distributed TransactionsIn the world of software development, transactions play a crucial role in maintaining data integrity and consistency across different…
Josiah T Mahachi·Jan 28, 2024Dynamic Search Queries in ASP.NET & TypescriptAngular is probably still my favourite SPA. I use it a lot with ASP.NET when building admin portals and when learning new tricks. One of…
Josiah T Mahachi·Jan 26, 2024TypeScript Discriminated Unions: An ExampleRecently, I posted a blog on TypeScript Discriminated Unions. I thought I would do a follow up with another example.