Request-Response in .NET with HttpClient


The Classic Backend Communication Pattern

From web protocols like HTTP, DNS, or SSH to database protocols and APIs - The Request-Response pattern is everywhere.

In the first article on my series of Backend Communication Patterns in .NET, we take a look at the classic, simplest pattern and implement it using the latest approaches in modern .NET

Request-Response in .NET with HttpClient

Implementing The Classic Backend Communication Pattern

113 Cherry St #92768, Seattle, WA 98104-2205
Unsubscribe · Preferences

Roko Kovač

Do you want to receive an article every other week helping you to become a better .NET developer? Sign up for my newsletter!

Read more from Roko Kovač

Real-Time Apps in .NET with SignalR In this article, we explore how SignalR works under the hood and expand the chat app from the WebSocket article to show just how easy it is to implement advanced features. Real-Time Apps in .NET with SignalR Simple, Reliable, and Scalable Real-Time Communication Read article 113 Cherry St #92768, Seattle, WA 98104-2205Unsubscribe · Preferences

WebSocket in .NET The WebSocket protocol allows for full-duplex messaging over a single TCP connection. In my newest article, we explore the protocol, compare it to the closest alternative, and use it to implement a simple chat app in .NET 8. WebSocket in .NET Real-Time, Two-Way Communication Over TCP/IP Read article 113 Cherry St #92768, Seattle, WA 98104-2205Unsubscribe · Preferences

Server-Sent Events in .NET ChatGPT streams its chat responses using a simple HTTP request.How? Using the most elegant way of achieving server push over HTTP:Server Sent Events.In my newest article, I show you how to implement it in .NET 8. Server-Sent Events in .NET Implementing The Most Elegant HTTP-Based Push Mechanism Read article 113 Cherry St #92768, Seattle, WA 98104-2205Unsubscribe · Preferences