[Redirect Magazine] #14 - Micro Frontends, Polly extensions for HttpClient, WebSockets and Nginx

Have at it! Articles “Micro Frontends” On the same page as a video I shared on Redirect Magazine #12, this article talks about taking the microservices architecture into the frontend, so we don’t end up with a fancy microservice backend coupled with a monolithic frontend, kind of defeating the purpose of the architectural decision in the first place. “HttpClientFactory in ASP.NET Core 2.1 (Part 4) - Integrating with Polly for transient fault handling” I’ve made some posts on using Polly to improve ....

June 10, 2018 · 1 min · 185 words · João Antunes

Using .NET's HttpClient without following redirects

It’s likely not a common scenario, but here’s how one can use .NET’s HttpClient without following redirects.

April 28, 2018 · 5 min · 932 words · João Antunes

[Redirect] How you should (not) use HttpClient

(The redirect tag in the title means this post is just a share of another post) So, how do you use the HttpClient (.NET)? Like this? 1 2 3 4 5 using (var client = new HttpClient()) { var result = await client.GetAsync("http://xpto.com/api/stuff"); //... } Well, so do I. And it’s wrong. Check out this article that tells you all about why. tl;dr Use a singleton instance. Oh, and after that one, this is also a good (important) related read....

October 27, 2016 · 1 min · 94 words · João Antunes