Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ The name of the parameter is `sql-password`, but really it's just formatting the
The `WithReference` method configures a connection in the `ExampleProject` named `database`.

<Aside type="tip">
If you'd rather connect to an existing SQL Server, call `AddConnectionString` instead. For more information, see [Reference existing resources](../../fundamentals/app-host-overview.md#reference-existing-resources).
If you'd rather connect to an existing SQL Server, call `AddConnectionString` instead. For more information, see [Reference existing resources](../../fundamentals/external-parameters/#connection-string-values).
Copy link

Copilot AI Dec 23, 2025

Choose a reason for hiding this comment

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

The new link points to the "Connection string values" section which is appropriate for the AddConnectionString method. However, other similar documentation pages (mysql.mdx, oracle.mdx, mongodb.mdx) use a different link: /get-started/resources/ for the same purpose. For consistency across the documentation, consider using the same link pattern. The /get-started/resources/ page provides a higher-level overview of working with resources, while external-parameters focuses specifically on connection strings—both are relevant, but consistency would help users navigate the docs more predictably.

Suggested change
If you'd rather connect to an existing SQL Server, call `AddConnectionString` instead. For more information, see [Reference existing resources](../../fundamentals/external-parameters/#connection-string-values).
If you'd rather connect to an existing SQL Server, call `AddConnectionString` instead. For more information, see [Reference existing resources](/get-started/resources/).

Copilot uses AI. Check for mistakes.
Copy link
Author

Choose a reason for hiding this comment

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

I don't believe the /get-started/resources/ is an appropriate link. It does not provide additional guidance for how to best utilize AddConnectionString.

Copy link

Copilot AI Dec 23, 2025

Choose a reason for hiding this comment

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

There's another instance of the same broken link in efcore/sql-server.mdx at line 74 that also references the non-existent app-host-overview.md file. This file should be updated with the same fix for consistency.

Suggested change
If you'd rather connect to an existing SQL Server, call `AddConnectionString` instead. For more information, see [Reference existing resources](../../fundamentals/external-parameters/#connection-string-values).
If you'd rather connect to an existing SQL Server, call `AddConnectionString` instead. For more information, see [Reference existing resources](../../fundamentals/external-parameters/#connection-strings).

Copilot uses AI. Check for mistakes.
Copy link
Author

Choose a reason for hiding this comment

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

The #connection-strings markdown header pointer does not exist on the fundamentals/external-parameters/ page. #connection-string-values does have a corresponding header though.

</Aside>

### Add SQL Server resource with database scripts
Expand Down