Skip to content

Code snippet has been updated to change "PublishAsAzureSqlDatabase" to "AddAzureSqlServer", but paragraph after it hasn't #2840

Open
@dracan

Description

@dracan

Type of issue

Outdated article.

Description

The text says "The PublishAsAzureSqlDatabase method ensures..." about the preceding code sample. However, that code sample doesn't include that method call. See the "Configure the AppHost project" section.

Looking at it in my IDE - the PublishAsAzureSqlDatabase method is marked as obsolete, and says we should use AddAzureSqlServer instead. So it sounds like the code snippet has been updated, but the paragraph after it hasn't.

Page URL

https://learn.microsoft.com/en-us/dotnet/aspire/database/sql-server-integration-deployment?tabs=visual-studio%2Cazure-sql

Content source URL

https://github.com/dotnet/docs-aspire/blob/main/docs/database/sql-server-integration-deployment.md

Document Version Independent Id

01887931-b8db-6baf-ec53-79c3d56d10c7

Platform Id

ba399cf0-6100-6e3b-3ab1-b53e488ca58a

Article author

@IEvangelist

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions