Add interfaces to PostgreSQL, Redis, and SqlServer Hosting Resources #6055
Labels
area-integrations
Issues pertaining to Aspire Integrations packages
postgres
Issues related to Postgres integrations
redis
Issues related to redis integrations
Milestone
Background and Motivation
See #5930 (comment) for some of the context.
With
We re-designed how resources that can be hosted in either a container or a managed Azure resource (ex. PostgreSQL, Redis, SqlServer) are added to the model.
Before
After
The downside of this approach is composability of resources. Let's say I wanted to have a resource that depended on a Postgres database instance. With this change the implementor of that would need to have extensions for each cloud provider (unless they just allow any IResourceWithConnectionString).
Proposed API
Usage Examples
Alternative Designs
Risks
cc @davidfowl @mitchdenny
The text was updated successfully, but these errors were encountered: