Mediator Pattern in C#: Implementing with MediatR

MediatR implements the mediator pattern in .NET, decoupling request handling from the caller. It’s become my go-to for organizing application logic. Setup Request and Handler Using in Controller Benefits Decoupled handlers – easy to test Pipeline behaviors for cross-cutting concerns Clean controller actions References MediatR GitHub

Read more β†’

Context Distillation Methods: Extracting Signal from Long Documents

Introduction: Long contexts contain valuable information, but they also contain noise, redundancy, and irrelevant details that consume tokens and dilute model attention. Context distillation extracts the essential information from lengthy documents, conversations, or retrieved passages, producing compact representations that preserve what matters while discarding what doesn’t. This technique is crucial for RAG systems processing multiple […]

Read more β†’

Vue.js Computed Properties and Watchers

Computed properties and watchers are powerful Vue.js features. Understanding when to use each is key to writing clean Vue code. Computed Properties Computed properties are cached and only update when dependencies change: Watchers Watchers react to changes – good for side effects: When to Use Which Computed: Deriving values, templates, getters Watch: Side effects, async […]

Read more β†’
Posted in Uncategorized

Azure Data Factory: Building ETL Pipelines

Azure Data Factory (ADF) is Microsoft’s cloud ETL service. Move and transform data at scale without managing infrastructure. Core Components Pipelines: Logical grouping of activities Activities: Tasks like copy, transform, run stored proc Datasets: Reference to data (tables, files) Linked Services: Connection strings to sources Triggers: When to run (schedule, event) Simple Copy Pipeline Copy […]

Read more β†’
Posted in UncategorizedTagged