TypedRest 1.3.2
See the version list below for details.
dotnet add package TypedRest --version 1.3.2
NuGet\Install-Package TypedRest -Version 1.3.2
<PackageReference Include="TypedRest" Version="1.3.2" />
<PackageVersion Include="TypedRest" Version="1.3.2" />
<PackageReference Include="TypedRest" />
paket add TypedRest --version 1.3.2
#r "nuget: TypedRest, 1.3.2"
#:package TypedRest@1.3.2
#addin nuget:?package=TypedRest&version=1.3.2
#tool nuget:?package=TypedRest&version=1.3.2
TypedRest helps you build type-safe, fluent-style REST API clients. Common REST patterns such as collections are represented as classes, allowing you to write more idiomatic code.
var client = new MyClient(new Uri("http://example.com/"));
// GET /contacts
List<Contact> contactList = await client.Contacts.ReadAllAsync();
// POST /contacts -> Location: /contacts/1337
ContactEndpoint smith = await client.Contacts.CreateAsync(new Contact {Name = "Smith"});
//ContactEndpoint smith = client.Contacts["1337"];
// GET /contacts/1337
Contact contact = await smith.ReadAsync();
// PUT /contacts/1337/note
await smith.Note.SetAsync(new Note {Content = "some note"});
// GET /contacts/1337/note
Note note = await smith.Note.ReadAsync();
// DELETE /contacts/1337
await smith.DeleteAsync();
Read a more detailed Introduction to TypedRest or jump right in with the Getting started guide.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.AspNet.WebApi.Client (>= 5.2.7)
- Microsoft.AspNetCore.JsonPatch (>= 2.1.1)
- Microsoft.Extensions.Http (>= 2.1.1)
- MorseCode.ITask (>= 2.0.3)
- Newtonsoft.Json (>= 12.0.3)
- Resta.UriTemplates (>= 1.4.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Diagnostics.DiagnosticSource (>= 5.0.0)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.1
- Microsoft.AspNet.WebApi.Client (>= 5.2.7)
- Microsoft.AspNetCore.JsonPatch (>= 3.1.10)
- Microsoft.Extensions.Http (>= 3.1.10)
- MorseCode.ITask (>= 2.0.3)
- Newtonsoft.Json (>= 12.0.3)
- Resta.UriTemplates (>= 1.4.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Diagnostics.DiagnosticSource (>= 5.0.0)
- System.ValueTuple (>= 4.5.0)
-
net5.0
- Microsoft.AspNet.WebApi.Client (>= 5.2.7)
- Microsoft.AspNetCore.JsonPatch (>= 5.0.0)
- Microsoft.Extensions.Http (>= 5.0.0)
- MorseCode.ITask (>= 2.0.3)
- Newtonsoft.Json (>= 12.0.3)
- Resta.UriTemplates (>= 1.4.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Diagnostics.DiagnosticSource (>= 5.0.0)
- System.ValueTuple (>= 4.5.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on TypedRest:
| Package | Downloads |
|---|---|
|
PowerDns.Client
Client library for the PowerDNS API |
|
|
TypedRest.Reactive
Adds support for streaming with ReactiveX (Rx) to TypedRest. Create endpoints using the types in the TypedRest.Endpoints.Reactive namespace. |
|
|
TypedRest.SystemTextJson
Adds support for serializing using System.Text.Json to TypedRest. Pass new SystemTextJsonSerializer() to the EntryEndpoint constructor. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.7.0 | 740 | 8/2/2026 |
| 1.6.6 | 256 | 8/1/2026 |
| 1.6.5 | 710 | 5/17/2026 |
| 1.6.4 | 290 | 5/2/2026 |
| 1.6.3 | 431 | 2/15/2026 |
| 1.6.2 | 451 | 12/20/2025 |
| 1.6.1 | 522 | 9/8/2025 |
| 1.6.0 | 1,084 | 12/15/2024 |
| 1.5.4 | 846 | 9/8/2024 |
| 1.5.3 | 580 | 7/7/2024 |
| 1.5.2 | 1,404 | 12/27/2023 |
| 1.5.1 | 1,006 | 10/4/2023 |
| 1.5.0 | 480 | 10/3/2023 |
| 1.4.1 | 439 | 10/1/2023 |
| 1.4.0 | 451 | 9/30/2023 |
| 1.3.8 | 18,014 | 3/12/2023 |
| 1.3.7 | 1,762 | 11/28/2022 |
| 1.3.6 | 3,382 | 11/29/2021 |
| 1.3.5 | 1,301 | 9/5/2021 |
| 1.3.2 | 1,097 | 11/27/2020 |