-
Notifications
You must be signed in to change notification settings - Fork 132
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
Content for .NET Aspire 9.1 #2566
base: main
Are you sure you want to change the base?
Conversation
dcf2512
to
9ff056e
Compare
* Fixes #2308 * Fix tabs * Fix a few more bits * Remove subscription section and correct topics * Fix port info * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review
* Document DistributedApplication.ResourceNotifications and WaitForResourceHealthyAsync * Minor edit pass, and bump ms.date --------- Co-authored-by: Reuben Bond <[email protected]>
* Fixes breaking changes doc issues * Fix links * Correct front-matter * Add index
* Wip * Rewrite of Azure Event Hubs, looks like 9.1 target * Minor edit * Fix broken links * Correct link again
* Upgrade NuGet packages, and corrected preview headings * Revert one incorrect change * Bump version * Correct Dapr version
* [9.1] Add WithExplicitStart * Update docs/fundamentals/app-host-overview.md
* Add resource relationship docs * Fix linter * Update * Update * Update * Update * Apply suggestions from code review --------- Co-authored-by: David Pine <[email protected]>
* scaffolding pt 1 * adding the scaffold from pine * first full pass * wow copilot is helpful Co-authored-by: Copilot <[email protected]> * erics edits (ty!) Co-authored-by: Eric Erhardt <[email protected]> * Good finds from James Co-authored-by: James Newton-King <[email protected]> * moving console logs downloads to its own section in dashboard * Apply suggestions from code review Co-authored-by: James Newton-King <[email protected]> * Update docs/whats-new/dotnet-aspire-9.1.md * Apply suggestions from code review Co-authored-by: Eric Erhardt <[email protected]> * Edit pass on the what's new content (#2636) --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: Eric Erhardt <[email protected]> Co-authored-by: James Newton-King <[email protected]> Co-authored-by: David Pine <[email protected]> Co-authored-by: David Fowler <[email protected]>
44cfd4c
to
ca2baf7
Compare
* Update breaking changes docs * Update breaking changes index * Fix copy paste errors * Update SB to include subscription * update TOC
* Rework PR * Apply suggestions from code review Co-authored-by: Eric Erhardt <[email protected]> * Correct phrasing for local containers * Apply suggestions from code review Co-authored-by: Eric Erhardt <[email protected]> * Re-generate Bicep and manifest. Also, more feedback * Fix MD lint --------- Co-authored-by: Eric Erhardt <[email protected]>
Co-authored-by: James Newton-King <[email protected]>
…ntainer Remove-azure-features-from-devcontainer
@ReubenBond it seems we only added a single doc for testing. We should audit and revamp the testing doc (and add as much information as possible based on what we learnt and feedback). |
* Enhance Integrations What's New in 9.1 * md lint * add disable experimental * Add ComsosDB func trigger * Apply suggestions from code review * Apply suggestions from code review --------- Co-authored-by: David Pine <[email protected]>
* Local Devcontainers. * Remove Azure features from devcontainer. * Apply suggestions from code review * Apply suggestions from code review --------- Co-authored-by: David Pine <[email protected]>
* Add testing overview doc to explain how Aspire testing works, update tutorial, add detail on passing args to the app host * Update dates * Apply suggestions from code review --------- Co-authored-by: David Pine <[email protected]>
Add code snippet for using new Azure emulators
@@ -135,6 +135,25 @@ var apiservice = builder.AddProject<Projects.AspireApp_ApiService>("apiservice") | |||
|
|||
The preceding code adds three replicas of the "apiservice" project resource to the app model. For more information, see [.NET Aspire dashboard: Resource replicas](dashboard/explore.md#resource-replicas). | |||
|
|||
## Configure explicit resource start | |||
|
|||
Project, executable and container resources are automatically started with your distributed application by default. A resource can be configured to wait for an explicit startup instruction with the `WithExplicitStart()` method. A resource configured with `WithExplicitStart()` is initialized with `KnownResourceStates.NotStarted`. |
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.
nit: WithExplicitStart can be changed to an xref to API docs once they're available.
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.
Same with NotStarted
- <xref:Aspire.Hosting.ResourceBuilderExtensions.WaitFor*> adds a relationship to the target resource with the type `WaitFor`. | ||
- Adding a database to a DB container creates a relationship from the database to the container with the type `Parent`. | ||
|
||
Relationships can also be explicitly added to the app model using `WithRelationship` and `WithParentRelationship`. |
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.
nit: WithRelationship and WithParentRelationship can be changed to an xref to API docs once they're available.
Summary
Content for .NET Aspire 9.1 - link to What's new in .NET Aspire 9.1.
DistributedApplication.ResourceNotifications
#2563WithExplicitStart
feature #2572IDistributedApplicationTestingBuilder
API change #2616Internal previews
Toggle expand/collapse
Note
This table shows preview links for the 30 files with the most changes. For preview links for other files in this PR, select OpenPublishing.Build Details within checks.