-
Notifications
You must be signed in to change notification settings - Fork 168
Description
Description
In Aspire 9.1, IDistributedApplicationTestingBuilder was changed to inherit from IDistributedApplicationBuilder, IAsyncDisposable, and IDisposable.
Version
Other (please put exact version in description textbox)
Previous behavior
Previously, it inherited from nothing.
New behavior
IDistributedApplicationTestingBuilder was changed to inherit from IDistributedApplicationBuilder, IAsyncDisposable, and IDisposable.
Type of breaking change
- Binary incompatible: Existing binaries might encounter a breaking change in behavior, such as failure to load or execute, and if so, require recompilation.
- Source incompatible: When recompiled using the new SDK or component or to target the new runtime, existing source code might require source changes to compile successfully.
- Behavioral change: Existing binaries might behave differently at run time.
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 are implementing IDistributedApplicationTestingBuilder yourself (which would be highly unusual), then you will need to implement the new interfaces also.
Affected APIs
IDistributedApplicationTestingBuilder