MockServerClientNet 2.1.0

dotnet add package MockServerClientNet --version 2.1.0                
NuGet\Install-Package MockServerClientNet -Version 2.1.0                
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="MockServerClientNet" Version="2.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MockServerClientNet --version 2.1.0                
#r "nuget: MockServerClientNet, 2.1.0"                
#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.
// Install MockServerClientNet as a Cake Addin
#addin nuget:?package=MockServerClientNet&version=2.1.0

// Install MockServerClientNet as a Cake Tool
#tool nuget:?package=MockServerClientNet&version=2.1.0                

MockServer .NET Client NuGet Version License: MIT

Unofficial C# Fluent API for interacting with Mock-Server targeting .NET 8.

This client, available at MockServerClientNet Repository, is written in C# and based on the original Java client Fluent API, available at Mock-Server Repository. Thanks to its authors for their contributions to open-source. I am not an author of the mentioned Java client and this client is not part of the official Mock-Server clients.

For users

NuGet Package

Get the latest version from NuGet Gallery or run the following command:

dotnet add package MockServerClientNet

Usage

Refer to Usage Samples for examples on how to use the Fluent API.

To start an instance of Mock-Server using Docker:

docker run -d --rm --name mockserver -p 1080:1080 mockserver/mockserver

For more details on using the Docker image, check the official Mock-Server documentation.

For contributors

Build

dotnet build

Testing

The below command will run the integration tests against a TestContainers Mock-Server instance.

dotnet test

How to Contribute

Please take a look at CONTRIBUTING for details.

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

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.0 4,697 8/27/2024
2.0.0 684 8/23/2024
1.2.0 697,706 7/3/2020
1.1.1 1,103 6/26/2020
1.0.1 32,815 7/6/2018
1.0.0 1,530 7/6/2018

TLS support / Request Matchers / Response Content