Rn.NetCore.BasicHttp 6.0.1.100

There is a newer version of this package available.
See the version list below for details.
dotnet add package Rn.NetCore.BasicHttp --version 6.0.1.100
                    
NuGet\Install-Package Rn.NetCore.BasicHttp -Version 6.0.1.100
                    
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="Rn.NetCore.BasicHttp" Version="6.0.1.100" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rn.NetCore.BasicHttp" Version="6.0.1.100" />
                    
Directory.Packages.props
<PackageReference Include="Rn.NetCore.BasicHttp" />
                    
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 Rn.NetCore.BasicHttp --version 6.0.1.100
                    
#r "nuget: Rn.NetCore.BasicHttp, 6.0.1.100"
                    
#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.
#addin nuget:?package=Rn.NetCore.BasicHttp&version=6.0.1.100
                    
Install Rn.NetCore.BasicHttp as a Cake Addin
#tool nuget:?package=Rn.NetCore.BasicHttp&version=6.0.1.100
                    
Install Rn.NetCore.BasicHttp as a Cake Tool

Rn.NetCore.BasicHttp

Common Http abstraction for your applications

Source code for the project can be found here.

Usage

Using the package is as simple as registering the required types with your DI container of choice.

services
	.AddSingleton<IConfiguration>(config)
	.AddSingleton<IHttpClientFactory, HttpClientFactory>()

Injecting an instance of the IHttpClientFactory where required, and calling the .GetHttpClient() method to get a new instance of the HttpClientWrapper class (backed by IHttpClient).

When it comes to testing, all you need to do is mock the IHttpClientFactory.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Rn.NetCore.BasicHttp:

Package Downloads
DocumentSink.ClientLib

Companion client for my Document Sink API

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.0.1.103 379 1/3/2023
6.0.1.102 483 7/27/2022
6.0.1.100 520 5/10/2022
6.0.0.107 467 5/2/2022
6.0.0.106 435 5/2/2022
6.0.0.105 426 5/2/2022
6.0.0.104 421 5/2/2022
6.0.0.103 438 5/2/2022
6.0.0.102 574 1/6/2022
6.0.0.101 267 1/5/2022
6.0.0.100 6,076 11/23/2021
5.0.0.100 768 11/19/2021