Add WireMock Inspector command to Aspire integration #682

Closed
opened 2025-12-29 08:32:28 +01:00 by adam · 2 comments
Owner

Originally created by @jmezach on GitHub (Apr 16, 2025).

Is your feature request related to a problem? Please describe.
There is a tool called WireMockInspector that allows you to inspect the received requests, amongst other things. It would be great if we could launch this tool from the Aspire dashboard.

Describe the solution you'd like
We could do something like this: https://github.com/fredimachado/Aspire.Hosting.WireMock/blob/main/src/Aspire.Hosting.WireMock/WireMockNetExtensions.cs#L89-L100 to make this command available from the dashboard.

Describe alternatives you've considered
For now we can launch the tool manually and attach it to the endpoint from the Aspire dashboard, but having a single click obviously makes the experience a bit nicer.

Is your feature request supported by WireMock (java version)? Please provide details.
Haven't checked, but I'd say this is fairly specific to the .NET implementation as it relies on Aspire.

Additional context
Would be more than happy to provide a PR for this :)

Originally created by @jmezach on GitHub (Apr 16, 2025). **Is your feature request related to a problem? Please describe.** There is a tool called [WireMockInspector](https://github.com/WireMock-Net/WireMockInspector) that allows you to inspect the received requests, amongst other things. It would be great if we could launch this tool from the Aspire dashboard. **Describe the solution you'd like** We could do something like this: https://github.com/fredimachado/Aspire.Hosting.WireMock/blob/main/src/Aspire.Hosting.WireMock/WireMockNetExtensions.cs#L89-L100 to make this command available from the dashboard. **Describe alternatives you've considered** For now we can launch the tool manually and attach it to the endpoint from the Aspire dashboard, but having a single click obviously makes the experience a bit nicer. **Is your feature request supported by [WireMock (java version)](https://www.wiremock.org)? Please provide details.** Haven't checked, but I'd say this is fairly specific to the .NET implementation as it relies on Aspire. **Additional context** Would be more than happy to provide a PR for this :)
adam added the feature label 2025-12-29 08:32:28 +01:00
adam closed this issue 2025-12-29 08:32:28 +01:00
Author
Owner

@StefH commented on GitHub (Apr 22, 2025):

@jmezach
Can you make a PR?

@StefH commented on GitHub (Apr 22, 2025): @jmezach Can you make a PR?
Author
Owner

@jmezach commented on GitHub (Apr 23, 2025):

@StefH I've started working on a PR here: https://github.com/WireMock-Net/WireMock.Net/pull/1283. It looks like this project is still targeting an older version of Aspire which is no longer supported so I had to upgrade that first. Wanted to make sure that CI still works before I moved on to the actual implementation.

@jmezach commented on GitHub (Apr 23, 2025): @StefH I've started working on a PR here: https://github.com/WireMock-Net/WireMock.Net/pull/1283. It looks like this project is still targeting an older version of Aspire which is no longer supported so I had to upgrade that first. Wanted to make sure that CI still works before I moved on to the actual implementation.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net#682