Hi there 👋

Welcome to my technical blog! My name is Abhinaw, and I’m a software developer with over 11 years of experience in the IT industry. I created this space to share practical insights, solutions to common programming challenges, and deep dives into the technologies I’m passionate about. My articles focus primarily on .NET, JavaScript, cloud technologies, and software development best practices. Whether you’re a beginner or a seasoned developer, I hope you find valuable content that helps solve real-world problems. Feel free to explore my posts and reach out if you have any questions or suggestions for future topics! Want coding tips and deep dives sent directly to your inbox? Subscribe here.

Refactoring Messy Code: My Approach to Coupling and Cohesion

TL;DR: High cohesion means classes focus on one job. Low coupling means classes don’t depend too much on each other. When I refactor messy code, these two principles guide every decision I make. Why I Focus on Cohesion and Coupling When Refactoring After 10+ years of building enterprise applications, I’ve inherited my fair share of messy codebases. The pattern is always the same: tangled classes doing too much, components that break when you touch something seemingly unrelated, and tests that require half the application to run. ...

August 4, 2025 · 7 min

Why Async Can Be Slower in Real Projects?

Async/await is powerful but overused. This guide breaks down async misconceptions, shows real enterprise use cases, and gives you a practical decision framework for async in C#.

August 1, 2025 · 14 min

Why Dependency Inversion Improves C# Code Quality

TL;DR DIP means depend on abstractions, not concrete implementations. Use interfaces and dependency injection to decouple business logic from details. DIP improves testability, flexibility, and maintainability in C# code. Avoid leaky abstractions, unnecessary interfaces, and service locator anti-patterns. Use C# 12 primary constructors and .NET 8 DI features for clean, modern architecture. The Dependency Inversion Principle helps you turn rigid, tightly-coupled code into flexible, testable systems. Rather than depending on concrete implementations, your high-level modules rely on abstractions. This goes beyond dependency injection, it’s about changing the direction of control flow. ...

July 25, 2025 · Last modified: August 7, 2025 · 13 min

How to Test ASP.NET Core Middleware: Unit, Integration, and Mocks

This guide covers how to effectively test ASP.NET Core middleware using unit tests, integration tests, and mocks. It includes examples of common middleware patterns, how to handle dependencies, and best practices for ensuring your middleware behaves correctly in production.

July 20, 2025 · 13 min

Stop Forcing Unused Methods: Respect ISP

TL;DR ISP means interfaces should be small and focused on client needs. Avoid “God” interfaces that force clients to implement unused methods. Split large interfaces into cohesive, role-based interfaces. Use C# 12 features like default interface methods for flexibility. ISP improves maintainability, testability, and reduces coupling. Refactor fat interfaces by extracting related methods into separate interfaces. Interface Segregation Principle stops you from creating huge interfaces that force clients to implement methods they’ll never use. When interfaces get too big, your implementations end up filled with empty methods and unnecessary dependencies. ...

July 18, 2025 · Last modified: August 7, 2025 · 12 min

Performance Killers in EF Core: Top 11 Common Mistakes and How to Fix Them

A comprehensive guide to diagnosing and fixing common EF Core performance issues, with practical code examples and real-world performance improvements.

July 17, 2025 · Last modified: July 30, 2025 · 22 min

Prefer Interfaces Over Abstract Classes in C#: Build Flexible, Testable, and Maintainable Code

Learn why experienced C# developers choose interfaces over abstract classes 95% of the time. Real-world examples, team benefits, and clean architecture tips.

July 16, 2025 · 10 min

IEquatable in C#: Why Every .NET Developer Should Master Custom Equality

Master IEquatable in C# to optimize equality checks, improve collection performance, and eliminate boxing overhead. Essential for value types and collections.

July 16, 2025 · 9 min

Polymorphism in C#: How Template Method, Strategy, and Visitor Patterns Make Your Code Flexible

Polymorphism isn’t just a language feature, it’s a way to build systems that are easier to extend, change, and maintain. Learn how polymorphism powers design patterns like Template Method, Strategy, and Visitor in C#.

July 16, 2025 · 5 min

C# Default Interface Methods: Future-Proof and Backward-Compatible APIs

A practical guide to C# Default Interface Methods: how to use them, when to avoid them, and how they help you build future-proof APIs.

July 15, 2025 · Last modified: July 30, 2025 · 11 min
×