Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to add custom service registrations when using ASP.NET Core #611

Merged
merged 1 commit into from
May 11, 2021

Conversation

starkpl
Copy link
Contributor

@starkpl starkpl commented May 10, 2021

Since we allow to add custom middleware to WireMock's ASP.NET Core pipeline (using PreWireMockMiddlewareInit/PostWireMockMiddlewareInit), it would make sense to also allow to add custom service registration to ASP.NET Core DI. My specific use case is adding Azure Application Insights telemetry to WireMock's ASP.NET Core host to track external calls from WireMock (mappings with proxy).

@StefH StefH added the feature label May 10, 2021
@StefH
Copy link
Collaborator

StefH commented May 10, 2021

@starkpl Thank you.

Could you try to get the latest from my master and merge with your branch ?
I fixed the CI build for PR's.

@starkpl starkpl closed this May 10, 2021
@starkpl starkpl force-pushed the AdditionalServiceRegistration branch from 20c2617 to a1dc2ba Compare May 10, 2021 20:16
@starkpl starkpl reopened this May 10, 2021
@starkpl starkpl force-pushed the AdditionalServiceRegistration branch from 11a98ec to eaa2533 Compare May 10, 2021 20:27
@starkpl
Copy link
Contributor Author

starkpl commented May 10, 2021

@StefH thanks for fixing the pipeline, I rebased my branch.

@StefH
Copy link
Collaborator

StefH commented May 11, 2021

@starkpl
I'll merge your PR and create new NuGets shortly.

@StefH StefH merged commit 80b5eaa into WireMock-Net:master May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants