My humble but prgamatic blog

👋 Welcome to my blog!

Azure AD and B2C Authentication in a Legacy ASP.NET MVC 5 Web App

How to switch from old NTLM authentication to OAuth 2.0 and OpenID Connect.

February 23, 2025 Â· 13 min Â· MichaÅ‚ Kocik

Understanding Application Logic vs Business Logic — Through Real-World Examples

In many backend systems, we talk about business logic, application logic, and layered architecture — but what do these terms really mean in practice? In this post, I’ll walk through how to distinguish between these types of logic, why it matters architecturally, and where they should live in a clean codebase. We’ll use real examples to ground the theory. The Key Distinction: Application vs Business Logic Let’s start by defining the two: ...

July 31, 2025 Â· 3 min Â· Michal Kocik