DSoft.Portable.WebClient.Core
4.1.2411.191
dotnet add package DSoft.Portable.WebClient.Core --version 4.1.2411.191
NuGet\Install-Package DSoft.Portable.WebClient.Core -Version 4.1.2411.191
<PackageReference Include="DSoft.Portable.WebClient.Core" Version="4.1.2411.191" />
paket add DSoft.Portable.WebClient.Core --version 4.1.2411.191
#r "nuget: DSoft.Portable.WebClient.Core, 4.1.2411.191"
// Install DSoft.Portable.WebClient.Core as a Cake Addin #addin nuget:?package=DSoft.Portable.WebClient.Core&version=4.1.2411.191 // Install DSoft.Portable.WebClient.Core as a Cake Tool #tool nuget:?package=DSoft.Portable.WebClient.Core&version=4.1.2411.191
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
- 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.
Build status
Packages
Version History (from 4.0)
- Version 4.1.0
- Updtated to the latest packages
- Version 4.0.0
- Added support for .NET 8.0
- Removed EF Core libraries
- Updated to last RestSharp
- Improved support for Dependency Injecting
GrpcClientOptions
- Added custom HttpHandler to
GrpcClientOptions
- Cleaned up
GrpcChannelManager
code and add support for the custom HttpHandler inGrpcClientOptions
- This works great for Testing you Grpc Services with WebApplicationFactory
- Updated
AesEncryptionProvider
to use Aes.Create - Added Unit Test sample
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. 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 is compatible. 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 is compatible. |
.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 was computed. |
.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
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on DSoft.Portable.WebClient.Core:
Package | Downloads |
---|---|
DSoft.Portable.WebClient.Encryption
Encrypted payload communications classes for the DSoft.Portable.WebClient |
|
DSoft.Portable.WebClient.Rest
RESTful client class library for interacting with ASP.NET Core RESTful Web Apis |
|
DSoft.Portable.WebClient.Grpc
Grpc base class library for interacting with ASP.NET Core Grpc services using Http/2 and Http 1.1 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.1.2411.191 | 278 | 11/19/2024 |
4.1.2405.21 | 430 | 5/2/2024 |
4.0.2312.111 | 928 | 12/12/2023 |
4.0.2312.71 | 870 | 12/7/2023 |
3.2.2302.221 | 1,964 | 2/22/2023 |
3.1.2204.241 | 3,255 | 4/24/2022 |
3.1.2204.221 | 2,893 | 4/22/2022 |
3.1.2204.51 | 3,048 | 4/5/2022 |
3.1.2112.232 | 1,981 | 12/23/2021 |
3.1.2112.231 | 1,827 | 12/23/2021 |
3.0.2112.72-prereleaae | 1,212 | 12/7/2021 |
3.0.2109.261-prereleaae | 1,382 | 9/26/2021 |
3.0.2108.201 | 2,248 | 8/21/2021 |
3.0.2108.62-prerelease | 1,367 | 8/6/2021 |
3.0.2108.61-prerelease | 1,332 | 8/6/2021 |
3.0.2108.21-prerelease | 1,345 | 8/2/2021 |
3.0.2107.201-prerelease | 1,435 | 7/20/2021 |
3.0.2107.64-prerelease | 1,554 | 7/6/2021 |
3.0.2107.63-prerelease | 1,402 | 7/6/2021 |
3.0.2107.61-prerelease | 1,432 | 7/6/2021 |
3.0.2107.51-prerelease | 1,438 | 7/5/2021 |
3.0.2107.42-prerelease | 1,455 | 7/4/2021 |
3.0.2107.41-prerelease | 1,526 | 7/4/2021 |
2.0.2106.241 | 1,064 | 6/24/2021 |
2.0.2106.11 | 1,141 | 6/1/2021 |
2.0.2105.211 | 1,021 | 5/21/2021 |
2.0.2005.121 | 1,646 | 5/12/2020 |
1.1.2002.61-preview | 1,155 | 2/6/2020 |
1.1.2001.271-preview | 1,078 | 1/27/2020 |
1.1.2001.264-preview | 1,185 | 1/26/2020 |
1.1.2001.263-preview | 1,173 | 1/26/2020 |
1.0.2001.81 | 1,401 | 1/9/2020 |
v3.1 - Release