KamiSama.Extensions.RestSharp 11.0.0.2

dotnet add package KamiSama.Extensions.RestSharp --version 11.0.0.2
                    
NuGet\Install-Package KamiSama.Extensions.RestSharp -Version 11.0.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="KamiSama.Extensions.RestSharp" Version="11.0.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="KamiSama.Extensions.RestSharp" Version="11.0.0.2" />
                    
Directory.Packages.props
<PackageReference Include="KamiSama.Extensions.RestSharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add KamiSama.Extensions.RestSharp --version 11.0.0.2
                    
#r "nuget: KamiSama.Extensions.RestSharp, 11.0.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package KamiSama.Extensions.RestSharp@11.0.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=KamiSama.Extensions.RestSharp&version=11.0.0.2
                    
Install as a Cake Addin
#tool nuget:?package=KamiSama.Extensions.RestSharp&version=11.0.0.2
                    
Install as a Cake Tool

KamiSama.Extensions.RestSharp

Back to package index

Version: 10.0.0

Description

Fluent RestSharp request construction and dependency injection registration for HTTP integrations. Build GET, POST, PUT, and DELETE requests with parameters, headers, URL segments, files, or JSON bodies, then deserialize successful responses.

How to use

dotnet add package KamiSama.Extensions.RestSharp --version 10.0.0

Register an HttpClient before adding the RestSharp services. Inject IRestBuilder, start each request with ForServiceUrl, add request data, and then call the required HTTP verb:

using KamiSama.Extensions.RestSharp;

services.AddHttpClient();
services.AddKamiSamaRestSharp();

ProductDto product = await restBuilder
    .ForServiceUrl("https://api.example.com", "products/{id}")
    .AddUrlSegment("id", 42)
    .GetAsync<ProductDto>(cancellationToken);

IRestBuilder is scoped and stores the current request. Call ForServiceUrl before configuring every request, and do not share one builder across concurrent operations.

Namespaces

Types

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on KamiSama.Extensions.RestSharp:

Package Downloads
KamiSama.ExternalServices.Email.Smtp

SMTP transport registration and configuration for KamiSama email services. The current implementation contains a known inverted validation defect that rejects complete SMTP settings; see package documentation before use.

KamiSama.ExternalServices.Sms.NeoZarin

Scoped NeoZarin HTTP SMS provider registration and configuration for KamiSama SMS services. Requires KamiSama RestSharp and HttpClient registration and currently has an inverted validation defect.

KamiSama.ExternalServices.Sms.Kavenegar

Scoped Kavenegar SMS provider registration and configuration for KamiSama SMS services. The current sender has an inverted validation defect that rejects a configured API key before sending.

Polareum.Api

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.0.2 60 11/23/2026
11.0.0.1 74 11/21/2026
10.0.14 128 11/8/2026
10.0.13.1 137 10/22/2026
10.0.13 127 10/22/2026
10.0.11.9 185 8/24/2026
10.0.11.8 171 8/21/2026
10.0.11.7 162 8/21/2026
10.0.11.6 260 8/19/2026
10.0.11.5 151 8/18/2026
10.0.11.4 157 8/18/2026
10.0.11.3 152 8/18/2026
10.0.11.2 154 8/18/2026
10.0.11.1 185 8/15/2026
10.0.11 154 8/11/2026
10.0.10.2 158 8/4/2026
10.0.0 134 8/18/2026