![]() |
VOOZH | about |
dotnet add package WireMock.Net --version 2.11.0
NuGet\Install-Package WireMock.Net -Version 2.11.0
<PackageReference Include="WireMock.Net" Version="2.11.0" />
<PackageVersion Include="WireMock.Net" Version="2.11.0" />Directory.Packages.props
<PackageReference Include="WireMock.Net" />Project file
paket add WireMock.Net --version 2.11.0
#r "nuget: WireMock.Net, 2.11.0"
#:package WireMock.Net@2.11.0
#addin nuget:?package=WireMock.Net&version=2.11.0Install as a Cake Addin
#tool nuget:?package=WireMock.Net&version=2.11.0Install as a Cake Tool
Lightweight Http Mocking Server for .NET, inspired by WireMock.org (from the Java landscape).
A core feature of WireMock.Net is the ability to return predefined HTTP responses for requests matching criteria. See Stubbing.
WireMock.Net support advanced request-matching logic, see Request Matching.
The response which is returned WireMock.Net can be changed using templating. This is described here Response Templating.
The WireMock admin API provides functionality to define the mappings via a http interface see Admin API Reference.
WireMock.Net can be used in several ways:
You can use your favorite test framework and use WireMock within your tests, see UnitTesting.
See WireMock.Net.Testcontainers on how to build a WireMock.Net Docker container which can be used in Unit/Integration testing.
See WireMock.Net.Aspire on how to use WireMock.Net as an Aspire Hosted application to do Unit/Integration testing.
It's simple to install WireMock.Net as (global) dotnet tool, see dotnet tool.
This is quite straight forward to launch a mock server within a console application, see Standalone Process.
You can also run WireMock.Net as a Windows Service, follow this Windows Service.
See this link WireMock-as-a-(Azure)-Web-App
There is also a Linux and Windows-Nano container available at hub.docker.com. For more details see also Docker.
More details on using HTTPS (SSL) can be found here HTTPS
For more info, see also this documentation page: What is WireMock.Net.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 netstandard2.1 is compatible. |
| .NET Framework | net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on WireMock.Net:
| Package | Downloads |
|---|---|
|
WireMock.Net.StandAlone
Lightweight StandAlone Http Mocking Server for .Net. |
|
|
Energinet.DataHub.Core.FunctionApp.TestCommon
[Release Notes](https://github.com/Energinet-DataHub/geh-core/blob/master/source/TestCommon/documents/release-notes/release-notes.md) [Documentation](https://github.com/Energinet-DataHub/geh-core/blob/master/source/TestCommon/documents/documentation.md) |
|
|
Cortside.MockServer
Package Description |
|
|
DrifterApps.Seeds.Testing
Package Description |
|
|
OpenTraceability.TestServerPackage
A packaged version of a test server that can be deployed and used prop up a dummy EPCIS/Digital Link resolver.. |
Showing the top 20 popular GitHub repositories that depend on WireMock.Net:
| Repository | Stars |
|---|---|
|
restsharp/RestSharp
Simple REST and HTTP API Client for .NET
|
|
|
rabbitmq/rabbitmq-dotnet-client
RabbitMQ .NET client for .NET Standard 2.0+ and .NET 4.6.2+
|
|
|
Nethereum/Nethereum
Ethereum .Net cross platform integration library
|
|
|
kubernetes-client/csharp
Officially supported dotnet Kubernetes Client library
|
|
|
mehdihadeli/food-delivery-microservices
🍔 A practical and cloud-native food delivery microservices, built with .Net Aspire, .Net 9, MassTransit, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
|
|
|
CodeMazeBlog/CodeMazeGuides
The main repository for all the Code Maze guides
|
|
|
junkai-li/NetCoreKevin
🤖基于.NET搭建的企业级中台AI知识库智能体开源架构:Skills技能管理、AI-Qdrant知识库、知识库重排模型、AI联网搜索、多智能体协同、聊天记录压缩策略、智能体权限管控、AgentFramework、RAG检索增强、本地Ollama AI模型调用、智能体技能可控加载、领域事件、一库多租户、Log4、Jwt、CAP、SignalR、Mcp、Ioc、Hangfire、RabbitMQ、Xunit、前端(Vue + Ant Design)
|
|
|
jellyfin/TMDbLib
C#.Net library for TheMovieDB
|
|
|
SonarSource/sonar-scanner-msbuild
SonarScanner for .NET
|
|
|
JasonBock/Rocks
A mocking library based on the Compiler APIs (Roslyn + Mocks)
|
|
|
influxdata/influxdb-client-csharp
InfluxDB 2.x C# Client
|
|
|
maxmind/GeoIP2-dotnet
MaxMind GeoIP2 .NET API
|
|
|
auth0/auth0.net
.NET client for the Auth0 Authentication & Management APIs.
|
|
|
axzxs2001/Asp.NetCoreExperiment
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
|
|
|
dotnetrdf/dotnetrdf
dotNetRDF is a powerful and flexible API for working with RDF and SPARQL in .NET environments
|
|
|
mehdihadeli/vertical-slice-api-template
🍰 An asp.net core template based on .Net 9, Vertical Slice Architecture, CQRS, Minimal APIs, OpenTelemetry, API Versioning and OpenAPI.
|
|
|
hassanhabib/Standard.AI.OpenAI
Standard-Compliant .NET library for Open AI
|
|
|
hassanhabib/RESTFulSense
A RESTFul operations client that serializes responses and throws meaningful exceptions for >= 400 status codes.
|
|
|
notion-dotnet/notion-sdk-net
A Notion SDK for .Net
|
|
|
basdijkstra/rest-assured-net
C# DSL for writing readable tests for HTTP-based APIs
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.11.0 | 28,178 | 6/12/2026 |
| 2.10.0 | 47,414 | 6/7/2026 |
| 2.9.0 | 36,453 | 6/2/2026 |
| 2.8.0 | 28,862 | 5/31/2026 |
| 2.7.0 | 79,610 | 5/24/2026 |
| 2.6.0 | 304,503 | 5/11/2026 |
| 2.5.0 | 135,237 | 5/4/2026 |
| 2.4.0 | 204,553 | 4/24/2026 |
| 2.3.0 | 91,402 | 4/20/2026 |
| 2.2.0 | 649,571 | 3/30/2026 |
| 2.1.0 | 27,266 | 3/29/2026 |
| 2.0.0 | 247,116 | 3/11/2026 |
| 1.25.0 | 1,200,740 | 1/25/2026 |
| 1.24.0 | 138,229 | 1/18/2026 |
| 1.23.0 | 326,239 | 1/5/2026 |
| 1.22.0 | 60,762 | 1/2/2026 |
| 1.21.0 | 184,679 | 12/25/2025 |
| 1.20.0 | 11,509 | 12/24/2025 |
| 1.19.0 | 304,336 | 12/12/2025 |
| 1.18.0 | 230,428 | 12/9/2025 |
# 2.11.0 (12 June 2026)
- #1475 Update NuGet packages (Aspire, MessagePack and more) [security]
- #1476 Fix BodyParser [bug]
- #1473 JsonPartialWildCardMatcher With DateTime Regex Stopped Matching (Regression?) [bug]
The full release notes can be found here: https://github.com/wiremock/WireMock.Net/blob/master/CHANGELOG.md