Milan Jovanovićmilanjovanovic.hashnode.dev·Sep 9, 2024Refit in .NET: Building Robust API Clients in C#As a .NET developer, I've spent countless hours working with external APIs. It's a crucial part of modern software development, but let's be honest - it can be a real pain sometimes. We've all been there, wrestling with HttpClient, writing repetitive...Discuss·88 reads.NET
Ejan Shresthaijanggmu.hashnode.dev·Aug 21, 2024Mastering HttpClient in .NET: Best Practices and Advanced Techniques with RefitIntroduction In the .NET ecosystem, HttpClient is the go-to tool for making HTTP requests to web services. However, despite its simplicity, improper usage can lead to significant issues such as socket exhaustion and poor performance. In this article,...Discuss·2 likes·176 readsdotnet
Katarzyna Kądziołkachihuahuacoder.com·May 7, 2024Refit - Simple source code generated HTTP client library for .NetRefit is a library that turns the REST API into a living interface. With its help, I have created a PoC of a client that communicates with the REST API. As an example, I have used the Wizard World API, which returns content about the Harry Potter uni...Discuss·179 readsRefit
Mister Pmisterp.hashnode.dev·May 22, 2023Integration Testing with .NET WebApplicationFactoryContext In this post I will cover my approach to writing integration tests, using .NETs WebApplicationFactory. Why this approach? After an initial setup, it's very straightforward writing new tests and refactoring old ones. Easy to work with atomic...Discuss·1.7K reads.NET