Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dotnetcore/WebApiClient
An open source project based on the HttpClient. You only need to define the c# interface and modify the related features to invoke the client library of the remote http interface asynchronously.
https://github.com/dotnetcore/WebApiClient
client form httpclient json json-rpc-client oauth2-client openapi restful retrofit swagger webapi webclient xml
Last synced: about 2 months ago
JSON representation
An open source project based on the HttpClient. You only need to define the c# interface and modify the related features to invoke the client library of the remote http interface asynchronously.
- Host: GitHub
- URL: https://github.com/dotnetcore/WebApiClient
- Owner: dotnetcore
- License: mit
- Created: 2017-03-28T05:24:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-21T05:45:19.000Z (7 months ago)
- Last Synced: 2024-05-21T19:13:08.929Z (7 months ago)
- Topics: client, form, httpclient, json, json-rpc-client, oauth2-client, openapi, restful, retrofit, swagger, webapi, webclient, xml
- Language: C#
- Homepage:
- Size: 7.14 MB
- Stars: 2,012
- Watchers: 110
- Forks: 441
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - dotnetcore/WebApiClient - A REST API library with better functionality, performance, and scalability than refit (C\#)
README
[README](README.md) | [中文文档](README_zh.md)
## WebApiClient
A REST API library with better functionality, performance, and scalability than refit.### Features
#### Semantic Declaration
Client development only requires semantic declaration of C# interfaces.#### Diverse serialization
Supports json, xml, form and other custom serialization methods.#### Full trimmed and AOT
Supports full trimmed and AOT publishing of .NET8.#### Aspect-Oriented Programming
Supports multiple interceptors, filters, logs, retries, custom caches and other aspects.#### Code Syntax Analysis
Provides syntax analysis and prompts for interface code declarations to help developers avoid using improper syntax when declaring interfaces.#### Quick access
Supports OAuth2 and token management extension packages to facilitate identity authentication and authorization.#### Swagger to code
Supports parsing local or remote OpenApi documents to generate WebApiClientCore interface code, which simplifies the workload of interface declaration.#### Powerful performance
In [BenchmarkDotNet](WebApiClientCore.Benchmarks/results), the performance is 2.X times ahead of the similar product [refit](https://github.com/reactiveui/refit) under various requests.### Documentation support
[https://webapiclient.github.io/](https://webapiclient.github.io/en/)