DSoft.Portable.WebClient.Rest 3.1.2112.232

.NET 6.0 .NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
Install-Package DSoft.Portable.WebClient.Rest -Version 3.1.2112.232
dotnet add package DSoft.Portable.WebClient.Rest --version 3.1.2112.232
<PackageReference Include="DSoft.Portable.WebClient.Rest" Version="3.1.2112.232" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DSoft.Portable.WebClient.Rest --version 3.1.2112.232
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DSoft.Portable.WebClient.Rest, 3.1.2112.232"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install DSoft.Portable.WebClient.Rest as a Cake Addin
#addin nuget:?package=DSoft.Portable.WebClient.Rest&version=3.1.2112.232

// Install DSoft.Portable.WebClient.Rest as a Cake Tool
#tool nuget:?package=DSoft.Portable.WebClient.Rest&version=3.1.2112.232
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Portable Web Client

Cross platform web client framework for calling ASP.NET Core RESTful Web Apis and gRPC services

Functionality

The libary provides low level, bootstrapped base classes to simplify the building of client libraries for use with ASP.NET Core Web Apis and now gRPC services too.

  • Base web service client classes for RESTful Web APIs and gRPC service clients
    • Core Web Client functionality
    • Stores Url
    • Can check for connectivity
    • Stores Default Timeout
    • Supports gRPC fpr Web
  • Base service client classes for both RESTFul and Grpc services
    • Handles RestClient and Grpc channel management functionality
    • Helper methods for Get and Post method calls
    • Simplifies calls to the services
  • Base request and response classes
  • Generic methods and extensions for calling RESTful Web APIs
  • EF Core session
    • Secure sessions for users
  • Secure request and response classes using a SecurePayload
  • Integrated encryption, with abiltiy provide override with custom implementations.
    • Uses 256-bit AES encryption by default

V3.x and v3.1 breaking changes

With the move to v3 some of the classes have been renamed and moved into different packages, such as ServiceClientBase which now exists in DSoft.Portable.WebClient.Rest and is now named RestServiceClientBase.

Encryption changes

v3.0 only!
You know have to set an InitVector key of your own on EncryptionProviderFactory before encrption and decryption will function.

v3.1 and Above
In v3.1 and above the InitVector key is passed explicilty to the IEncryptionProvider implementation when returned by EncryptionProviderFactory.Build. This allows for calls to multiple services using multiple IVs. Check out the test harness for an example.

We will add a detailed migration guide to the Wiki before going stable

Build status

Build Status

Packages

Platform/Feature Package name Stable Beta
Core DSoft.Portable.WebClient.Core NuGet NuGet
Encryption DSoft.Portable.WebClient.Encryption NuGet NuGet
Grpc DSoft.Portable.WebClient.Grpc NuGet NuGet
Grpc Encryption DSoft.Portable.WebClient.Grpc.Encryption NuGet NuGet
Grpc Encryption Build Tools DSoft.Portable.WebClient.Grpc.Encryption.Tools NuGet NuGet
Rest DSoft.Portable.WebClient.Rest NuGet NuGet
Rest Encryption DSoft.Portable.WebClient.Rest.Encryption NuGet NuGet
Rest Extensions DSoft.Portable.WebClient.Rest.Extensions NuGet NuGet
EF Core Security Entities DSoft.Portable.Server.Security.Core NuGet NuGet
EF Core Secure Database contexts DSoft.Portable.EntityFrameworkCore.Security NuGet NuGet
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on DSoft.Portable.WebClient.Rest:

Package Downloads
DSoft.Portable.WebClient.Rest.Encryption

Encrypted communications classes for the RESRful web api client

DSoft.Portable.WebClient.Rest.Extensions

Extensions to the Rest to RestServiceClientBase

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.1.2204.241 87 4/24/2022
3.1.2204.221 63 4/22/2022
3.1.2204.51 77 4/5/2022
3.1.2112.232 248 12/23/2021
3.1.2112.231 111 12/23/2021
3.0.2112.72-prereleaae 72 12/7/2021
3.0.2109.261-prereleaae 204 9/26/2021
3.0.2108.201 376 8/21/2021
3.0.2108.62-prerelease 158 8/6/2021
3.0.2108.61-prerelease 166 8/6/2021
3.0.2108.21-prerelease 148 8/2/2021
3.0.2107.201-prerelease 190 7/20/2021
3.0.2107.64-prerelease 317 7/6/2021
3.0.2107.63-prerelease 154 7/6/2021
3.0.2107.61-prerelease 168 7/6/2021
3.0.2107.51-prerelease 167 7/5/2021
3.0.2107.42-prerelease 193 7/4/2021
3.0.2107.41-prerelease 251 7/4/2021

v3.1 - Release