Overview
Turns a REST API into a C# interface: you declare methods with attributes like [Get("/users/{id}")] and Refit generates the HttpClient code.
Strengths
- Little boilerplate
- Works with HttpClientFactory
Drawbacks
- Unusual APIs may need custom handling