https://github.com/wiremock/WireMock.Net/wiki/Using-WireMock.Net.Aspire
Aspire.Hosting.WireMock adds API mocking support for .NET Aspire using WireMock.Net.
This project was created to make it easier to mock external APIs that are out of our control.
Install the Fredi.Aspire.Hosting.WireMock package into your Aspire App Host project, e.g. using the dotnet command line in the project directory:
dotnet add package Fredi.Aspire.Hosting.WireMockNote: I couldn't push Aspire.Hosting.WireMock to NuGet because the Aspire package ID prefix is reserved.
Please check the sample project.
Note: Requires installation of the WireMockInspector tool.
dotnet tool install WireMockInspector --global --no-cache --ignore-failed-sources
Aspire.Hosting.WireMock is licensed under the MIT License.
Feel free to contribute to Aspire.Hosting.WireMock. Please log an issue to discuss your contribution before submitting a pull request.
