RichardSzalay.MockHttp 1.3.0-netstandard-alpha1

.NET Standard 1.1 .NET Framework 4.0
This is a prerelease version of RichardSzalay.MockHttp.
There is a newer version of this package available.
See the version list below for details.
dotnet add package RichardSzalay.MockHttp --version 1.3.0-netstandard-alpha1
NuGet\Install-Package RichardSzalay.MockHttp -Version 1.3.0-netstandard-alpha1
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="RichardSzalay.MockHttp" Version="1.3.0-netstandard-alpha1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RichardSzalay.MockHttp --version 1.3.0-netstandard-alpha1
#r "nuget: RichardSzalay.MockHttp, 1.3.0-netstandard-alpha1"
#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 RichardSzalay.MockHttp as a Cake Addin
#addin nuget:?package=RichardSzalay.MockHttp&version=1.3.0-netstandard-alpha1&prerelease

// Install RichardSzalay.MockHttp as a Cake Tool
#tool nuget:?package=RichardSzalay.MockHttp&version=1.3.0-netstandard-alpha1&prerelease

Testing layer for Microsoft's HttpClient library

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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Windows Phone wpa81
Windows Store netcore netcore45 netcore451
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.
  • .NETFramework 4.0

  • .NETFramework 4.5

  • .NETStandard 1.1

  • MonoAndroid 1.0

    • No dependencies.
  • MonoTouch 1.0

    • No dependencies.
  • Portable Class Library (.NETFramework 4.0, Silverlight 5.0, Windows 8.0, WindowsPhone 8.0, WindowsPhoneApp 8.1)

NuGet packages (12)

Showing the top 5 NuGet packages that depend on RichardSzalay.MockHttp:

Package Downloads
D2L.Security.OAuth2.TestFramework

Library for obtaining authorization in tests

Kralizek.AutoFixture.Extensions.MockHttp

An extension to AutoFixture to easily work with MockHttp.

comsec.sugar.moq The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A lean collection of classes to make it easier to mock multiple dependencies for a unit test.

Patros.MockHttpExtensions

This library is a small collection of extension methods for Richard Szalay's excellent MockHttp.

Microsoft.Bot.Builder.Dialogs.Adaptive.Testing The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Library for creating declarative test scripts for testing Bot Framework Adaptive Dialogs.

GitHub repositories (37)

Showing the top 5 popular GitHub repositories that depend on RichardSzalay.MockHttp:

Repository Stars
reactiveui/refit
The automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your REST API into a live interface.
MudBlazor/MudBlazor
Blazor Component Library based on Material design with an emphasis on ease of use. Mainly written in C# with Javascript kept to a bare minimum it empowers .NET developers to easily debug it if needed.
Xabaril/AspNetCore.Diagnostics.HealthChecks
Enterprise HealthChecks for ASP.NET Core Diagnostics Package
Azure/azure-functions-core-tools
Command line tools for Azure Functions
SteeltoeOSS/Steeltoe
Steeltoe .NET Core Components: CircuitBreaker, Configuration, Connectors, Discovery, Logging, Management, and Security
Version Downloads Last updated
6.0.0 5,672,320 11/18/2019
5.0.0 1,702,728 6/18/2018
4.0.0 99,665 4/16/2018
3.3.0 171,892 3/11/2018
3.2.1 644,163 9/7/2017
3.2.0 23,004 8/31/2017
3.1.0 3,352 8/29/2017
1.5.1 19,058 8/22/2017
1.5.0 205,525 2/23/2017
1.4.1 11,599 1/19/2017
1.4.0 2,367 1/17/2017
1.3.1 86,598 9/19/2016
1.3.0 24,964 6/30/2016
1.3.0-netstandard-alpha2 5,059 5/19/2016
1.3.0-netstandard-alpha1 1,014 5/19/2016
1.2.2 69,291 3/1/2016
1.2.1 16,537 5/6/2015
1.2.0 12,867 12/22/2014
1.1.0 1,380 12/21/2014
1.0.1.79-pre 1,026 7/5/2016
1.0.1 5,044 6/28/2014
1.0.1-beta 890 6/23/2014
1.0.0-beta 907 6/22/2014

1.3.0 - Added support for .NET Core via the .NET Standard Library (1.1)
 - Relative URLs now match correctly on Xamarin Android
1.2.2 - Root absolute URLs defined with no trailing flash now match those with a slash (and vice versa)
1.2.1 - HttpResponseMessage.RequestMessage is now assigned correctly
 - Form/Query data matching now works with both + and %20 space encodings (thanks Jozef Izso!)
1.2.0 - Changed PCL profile to support WP8.1
1.1.0 - Added MockHttpMessageHandler.Fallback and HttpClient passthrough support