Skip to content

fredimachado/Aspire.Hosting.WireMock

Repository files navigation

Aspire.Hosting.WireMock CI

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.

Installing the Aspire.Hosting.WireMock NuGet package

NuGet

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.WireMock

Note: I couldn't push Aspire.Hosting.WireMock to NuGet because the Aspire package ID prefix is reserved.

How to use

Please check the sample project.

License

Aspire.Hosting.WireMock is licensed under the MIT License.

Contributing

Feel free to contribute to Aspire.Hosting.WireMock. Please log an issue to discuss your contribution before submitting a pull request.