Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In Aspire 9.1, IDistributedApplicationTestingBuilder was changed to inherit from IDistributedApplicationBuilder, IAsyncDisposable, and IDisposable. This change affects binary compatibility and requires recompilation of existing binaries.
Version introduced
Aspire 9.1
Previous behavior
Previously, IDistributedApplicationTestingBuilder inherited from nothing.
New behavior
IDistributedApplicationTestingBuilder now inherits from IDistributedApplicationBuilder, IAsyncDisposable, and IDisposable.
Type of breaking change
This change is a binary incompatible change.
Reason for change
Methods accepting a parameter of type IDistributedApplicationBuilder now work with IDistributedApplicationTestingBuilder, giving developers a consistent API surface.
Recommended action
Recompile your code if necessary. If you're implementing IDistributedApplicationTestingBuilder yourself (which would be highly unusual), then you need to implement the new interfaces also.
Affected APIs
IDistributedApplicationTestingBuilder