Skip to content

Commit e5014c7

Browse files
docs: DistributedApplication.CreateBuilder signature, options param, use case examples typos (#8259)
1 parent b1b6db2 commit e5014c7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Aspire.Hosting/DistributedApplication.cs

+5-5
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public DistributedApplication(IHost host)
9999
/// method will be called as a top-level statement in the application's entry-point.
100100
/// </para>
101101
/// <para>
102-
/// Note that the <paramref name="args"/> parameter is a <see langword="string"/> is essential in allowing the application
102+
/// Note that the <paramref name="args"/> parameter is a <see langword="string"/> and is essential in allowing the application
103103
/// host to work with deployment tools because arguments are used to tell the application host that it
104104
/// is in publish mode. If <paramref name="args"/> is not provided the application will not work with
105105
/// deployment tools. It is also possible to provide arguments using the <see cref="CreateBuilder(Aspire.Hosting.DistributedApplicationOptions)"/>
@@ -153,15 +153,15 @@ public static IDistributedApplicationBuilder CreateBuilder(string[] args)
153153
/// <remarks>
154154
/// <para>
155155
/// The <see cref="DistributedApplication.CreateBuilder(DistributedApplicationOptions)"/> method provides
156-
/// greater control over the behavior of the distributed application at runtime. For example using providing
157-
/// a <paramref name="options"/> argument allows developers to force all container images to be loaded
156+
/// greater control over the behavior of the distributed application at runtime. For example providing
157+
/// an <paramref name="options"/> argument allows developers to force all container images to be loaded
158158
/// from a specified container registry by using the <see cref="DistributedApplicationOptions.ContainerRegistryOverride"/>
159-
/// property, or disable the dashboard by using the <see cref="DistributedApplicationOptions.DisableDashboard"/>
159+
/// property, or disabling the dashboard by using the <see cref="DistributedApplicationOptions.DisableDashboard"/>
160160
/// property. Refer to the <see cref="DistributedApplicationOptions"/> class for more details on
161161
/// each option that may be provided.
162162
/// </para>
163163
/// <para>
164-
/// When supplying a custom <see cref="DistributedApplicationOptions"/> it is commended to populate the
164+
/// When supplying a custom <see cref="DistributedApplicationOptions"/> it is recommended to populate the
165165
/// <see cref="DistributedApplicationOptions.Args"/> property to ensure that the app host continues to function
166166
/// correctly when used with deployment tools that need to enable publish mode.
167167
/// </para>

0 commit comments

Comments
 (0)