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 |
---|---|
TypedRest.Reactive
Adds support for streaming with ReactiveX (Rx) to TypedRest. Create endpoints using the types in the TypedRest.Endpoints.Reactive namespace. |
|
PowerDns.Client
Client library for the PowerDNS API |
|
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.6.0 | 511 | 12/15/2024 |
1.5.4 | 506 | 9/8/2024 |
1.5.3 | 397 | 7/7/2024 |
1.5.2 | 1,064 | 12/27/2023 |
1.5.1 | 800 | 10/4/2023 |
1.5.0 | 306 | 10/3/2023 |
1.4.1 | 285 | 10/1/2023 |
1.4.0 | 299 | 9/30/2023 |
1.3.8 | 6,753 | 3/12/2023 |
1.3.7 | 1,528 | 11/28/2022 |
1.3.6 | 3,043 | 11/29/2021 |
1.3.5 | 1,064 | 9/5/2021 |
1.3.4 | 1,379 | 1/29/2021 |
1.3.3 | 6,224 | 11/30/2020 |
1.3.2 | 896 | 11/27/2020 |
1.3.1 | 1,047 | 11/20/2020 |
1.3.0 | 1,699 | 9/20/2020 |
1.2.1 | 998 | 9/14/2020 |
1.2.0 | 984 | 8/26/2020 |
1.1.0 | 1,527 | 5/28/2020 |
1.1.0-rc0001 | 652 | 5/12/2020 |
1.0.3 | 2,245 | 3/23/2020 |
1.0.2 | 1,453 | 3/6/2020 |
1.0.1 | 1,349 | 3/6/2020 |
1.0.0 | 9,290 | 12/11/2019 |
1.0.0-rc0001 | 761 | 9/26/2019 |
0.43.0 | 4,636 | 1/8/2019 |
0.42.0 | 1,231 | 12/11/2018 |
0.41.0 | 1,890 | 10/23/2018 |
0.40.0 | 1,716 | 10/10/2018 |
0.39.0 | 1,741 | 9/13/2018 |
0.38.2 | 1,458 | 8/21/2018 |
0.38.1 | 1,727 | 3/28/2018 |
0.38.0 | 1,726 | 3/28/2018 |
0.37.0 | 1,715 | 3/13/2018 |
0.36.0 | 1,605 | 9/14/2017 |
0.35.0 | 1,693 | 5/12/2017 |
0.34.0 | 1,741 | 12/13/2016 |
0.33.0 | 1,751 | 11/23/2016 |
0.32.0 | 1,697 | 11/9/2016 |
0.31.0 | 1,705 | 10/18/2016 |
0.30.0 | 1,694 | 10/11/2016 |
0.29.1 | 1,694 | 9/5/2016 |
0.29.0 | 1,723 | 9/5/2016 |
0.28.0 | 1,895 | 7/11/2016 |
0.27.0 | 1,715 | 6/21/2016 |
0.26.0 | 2,062 | 6/15/2016 |
0.25.0 | 1,704 | 6/2/2016 |
0.24.0 | 1,783 | 5/30/2016 |
0.23.0 | 1,692 | 5/25/2016 |
0.22.0 | 1,639 | 5/9/2016 |
0.21.0 | 1,716 | 5/3/2016 |
0.20.0 | 1,709 | 5/2/2016 |
0.19.0 | 1,691 | 4/29/2016 |
0.18.0 | 1,961 | 4/27/2016 |
0.17.0 | 1,744 | 4/14/2016 |
0.16.0 | 1,725 | 4/7/2016 |
0.15.0 | 1,671 | 3/18/2016 |
0.14.0 | 2,035 | 2/27/2016 |
0.13.0 | 1,731 | 2/4/2016 |
0.12.0 | 1,720 | 1/25/2016 |
0.11.0 | 1,827 | 1/18/2016 |
0.10.0 | 1,854 | 1/7/2016 |
0.9.0 | 1,718 | 12/17/2015 |
0.8.0 | 1,700 | 12/10/2015 |
0.7.0 | 1,777 | 10/29/2015 |
0.6.0 | 1,527 | 10/23/2015 |
0.5.0 | 1,548 | 10/21/2015 |
0.4.0 | 1,578 | 10/16/2015 |
0.3.0 | 1,582 | 10/15/2015 |
0.2.0 | 1,552 | 10/12/2015 |
0.1.0 | 2,226 | 9/25/2015 |