Skip to content
LATEST

🚀 Welcome to Upgradix by Shrash Studio – Your destination for free technology learning and career growth.

Upgradix
Upgradix Code. Learn. Ship.
Free Technical Library

Articles

Practical, deeply explained engineering writing — free to read, no sign-up required.

LATEST WRITING

All Articles

Page 5 of 27
Message Brokers & Event Queues 25 MIN READ

Topic Exchanges – Wildcard Pattern Routing (* and #)

A Topic Exchange routes messages by matching dot-delimited routing keys against wildcard patterns. Use * to match exactly one word and # to match zero or more words, so each .NET service receives only the events it needs.

Nov 23, 2026 Read Article
Message Brokers & Event Queues 29 MIN READ

Fanout Exchanges – Pub/Sub Broadcasting Across Services

A Fanout Exchange copies every incoming message to all queues bound to it. It ignores routing keys completely. Use it when one event must trigger multiple independent .NET microservices at the exact same time.

Nov 20, 2026 Read Article
Message Brokers & Event Queues 25 MIN READ

Direct Exchanges – Exact-Match Task Routing

A direct exchange routes a message only to queues whose binding key matches the message's routingKey exactly. This lets one C# producer send payment.process and invoice.generate tasks to separate worker queues without mixing them up.

Nov 20, 2026 Read Article
Message Brokers & Event Queues 27 MIN READ

Competing Consumers & Work Queues in C#

Competing consumers let you run multiple C# worker instances on the same RabbitMQ queue. RabbitMQ sends each task to only one free worker, so heavy background jobs finish faster without duplicate work.

Nov 20, 2026 Read Article
Message Brokers & Event Queues 31 MIN READ

Connection & Channel Lifecycle Management in .NET

Keep one long-lived IConnection per .NET app as a singleton because TCP connections are heavy. Create short-lived or pooled IChannel instances for each task, and never share one IChannel across concurrent threads.

Nov 20, 2026 Read Article
Message Brokers & Event Queues 28 MIN READ

Your First C# Producer & Consumer with RabbitMQ.Client

Install the RabbitMQ.Client NuGet package to connect C# apps to RabbitMQ. Open one IConnection and one IChannel, declare a queue, and send UTF-8 JSON bytes with BasicPublishAsync. A separate C# worker reads those bytes using AsyncEventingBasicConsumer without slowing down your main app.

Nov 20, 2026 Read Article
Message Brokers & Event Queues 25 MIN READ

Running RabbitMQ Locally with Docker & Management UI

Run the official rabbitmq:4-management image with Docker Compose to start a local broker in seconds. Expose port 5672 for your app traffic and port 15672 for the browser dashboard. You can then inspect queues, connections, and channels live without installing Erlang on your machine.

Nov 20, 2026 Read Article
Message Brokers & Event Queues 29 MIN READ

Introduction to Message Brokers & RabbitMQ Architecture

A message broker is a middleman that passes messages between apps so they do not wait for each other. In RabbitMQ, a Producer sends a message to an Exchange, which routes it through a Binding into a Queue for a Consumer to process.

Nov 20, 2026 Read Article
TypeScript 25 MIN READ

Capstone Project: Type-Safe Task & API Client

Writing TypeScript inside your own code is easy. The real challenge starts when your app talks to an external API. By default, response.json() returns any, which quietly turns off type safety and lets bad data crash your app in production.

Nov 19, 2026 Read Article
TypeScript 22 MIN READ

Project Structure for Frontend & Backend Apps

When a project starts small, putting all files into a couple of folders feels fast and easy. Six months later, that same codebase turns into a maze. Developers waste hours hunting for files, backend API changes silently break the frontend, and every pull request turns into an argument about spaces versus tabs.

Nov 19, 2026 Read Article
TypeScript 25 MIN READ

TypeScript – Typing Promises, Async/Await & Error Handling

Modern web and backend applications spend a lot of time waiting. They wait for API responses, database queries, file reads, and third-party services. In JavaScript and TypeScript, we handle this waiting using Promises and async/await.

Nov 19, 2026 Read Article
TypeScript 24 MIN READ

TypeScript – ES Modules, Barrel Files & Circular Dependency Traps

When a TypeScript project grows from two files to two hundred files, how you connect those files matters just as much as the code inside them. ES Modules (import and export) let you split your app into clean, reusable pieces.

Nov 19, 2026 Read Article
WEEKLY ENGINEERING DISPATCH

Good engineering ideas, straight to your inbox.

Get practical tutorials, new project walkthroughs and interview resources — curated for curious developers. No noise, just useful knowledge.