-
Notifications
You must be signed in to change notification settings - Fork 152
Add ReferenceExpression to the External Parameters article #3221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ReferenceExpression to the External Parameters article #3221
Conversation
@IEvangelist can you check that I've done the code snippets correctly? They are in the snippets/referenceexpressions folder. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, just want these ranges cleaned up. Try id
if possible, will likely require a bit of refactoring in the Program.cs
.
docs/fundamentals/snippets/referenceexpressions/AspireReferenceExpressions.AppHost/Program.cs
Outdated
Show resolved
Hide resolved
docs/fundamentals/snippets/referenceexpressions/AspireReferenceExpressions.AppHost/Program.cs
Outdated
Show resolved
Hide resolved
docs/fundamentals/snippets/referenceexpressions/AspireReferenceExpressions.AppHost/Program.cs~
Outdated
Show resolved
Hide resolved
docs/fundamentals/snippets/referenceexpressions/AspireReferenceExpressions.AppHost/Program.cs~
Outdated
Show resolved
Hide resolved
Done. Question about IDs though: Do you know whether, if you put two blocks with the same ID in a code file, then referenced that ID in the triple-colon link, will it render both blocks? That would be useful. The guidance says you can nest them but nothing else. |
Summary
Adds a new section describing how you can use reference expressions to manipulate connection strings in .NET Aspire 9.2 and later.
Fixes #2710
Internal previews