Session
Using .Net Aspire for next level devex and easy integration tests asserting against OTEL trace data
This workshop begins by discussing the usual issues with integration tests and how they expose the issues with running an app locally.
The workshop uses a realistically complex distributed/cloud app scenario i.e. multiple components; an API, ASB messaging, an Integration event listener, an Outbox using SQL server and a few external services.
We will cover:
* the step by step process of adding .Net Aspire and showcase its features
* adding additional OTEL telemetry to track interesting events, including persisting and rehydrating telemetry through the outbox phase
* creation of integration tests covering end-to-end flows using Open Telemetry data for assertions.
The end goal is to have a repo which when pulled down onto a fresh machine, builds first time, tests pass first time, then having run the Aspire AppHost, the the integration tests pass first time, effectively demonstrating how the problems described initially can be solved.
All code available on GitHub
There will be branches available for each stage

Andrew Poole
Senior Backend Engineer @ Flagstone, ex-ClearBank
Street, United Kingdom
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top