Skip to content



Add one or more of the following NuGet packages to your project:

The main TypedRest library.

Adds support for streaming with ReactiveX (Rx) to TypedRest.

Provides an HttpClient DelegatingHandler for OAuth 2.0 / OpenID Connect authentication.
This can also be used independently of the other TypedRest packages.

Build command-line interfaces for TypedRest clients.

Dependency Injection

If you wish to use TypedRest in an ASP.NET Core web service (or any other kind of service that uses IServiceProvider-based dependency injection) you can use the .AddTypedRest<T>() extension method. This registers the endpoint you specify for dependency injection and connects it with HttpClientFactory.

See also