Skip to content

PublishAsConnectionString for Azure resources#2373

Merged
davidfowl merged 1 commit intomainfrom
brecon/publishas
Feb 23, 2024
Merged

PublishAsConnectionString for Azure resources#2373
davidfowl merged 1 commit intomainfrom
brecon/publishas

Conversation

@BrennanConroy
Copy link
Copy Markdown
Member

@BrennanConroy BrennanConroy commented Feb 23, 2024

Microsoft Reviewers: Open in CodeFlow

@ghost ghost added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Feb 23, 2024
@davidfowl
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

public static IResourceBuilder<T> PublishAsConnectionString<T>(this IResourceBuilder<T> builder)
where T : IAzureResource, IResourceWithConnectionString
{
ParameterResourceBuilderExtensions.ConfigureConnectionStringManifestPublisher((IResourceBuilder<IResourceWithConnectionString>)builder);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need to cast?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep

@davidfowl davidfowl merged commit 29101ae into main Feb 23, 2024
@davidfowl davidfowl deleted the brecon/publishas branch February 23, 2024 06:32
@davidfowl davidfowl mentioned this pull request Feb 23, 2024
7 tasks
@github-actions github-actions bot locked and limited conversation to collaborators Apr 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants