MockServerClientNet 2.1.0
dotnet add package MockServerClientNet --version 2.1.0
NuGet\Install-Package MockServerClientNet -Version 2.1.0
<PackageReference Include="MockServerClientNet" Version="2.1.0" />
paket add MockServerClientNet --version 2.1.0
#r "nuget: MockServerClientNet, 2.1.0"
// 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
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 | Versions 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. |
-
net8.0
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
TLS support / Request Matchers / Response Content