Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e1e0653

Browse files
committedMar 19, 2025·
Remove IsAspireHost bits. Fixes #2847
1 parent ad83444 commit e1e0653

File tree

31 files changed

+9
-37
lines changed

31 files changed

+9
-37
lines changed
 

‎docs/app-host/snippets/AspireApp/AspireApp.AppHost/AspireApp.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<TargetFramework>net9.0</TargetFramework>
88
<ImplicitUsings>enable</ImplicitUsings>
99
<Nullable>enable</Nullable>
10-
<IsAspireHost>true</IsAspireHost>
1110
<UserSecretsId>7b352f08-305b-4032-9a21-90deb02efc04</UserSecretsId>
1211
</PropertyGroup>
1312

‎docs/app-host/snippets/AspireApp/AspireApp.ResourceAppHost/AspireApp.ResourceAppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<TargetFramework>net9.0</TargetFramework>
88
<ImplicitUsings>enable</ImplicitUsings>
99
<Nullable>enable</Nullable>
10-
<IsAspireHost>true</IsAspireHost>
1110
<UserSecretsId>7b352f08-305b-4032-9a21-90deb02efc04</UserSecretsId>
1211
</PropertyGroup>
1312

‎docs/authentication/snippets/AspireApp/AspireApp.AppHost/AspireApp.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<TargetFramework>net9.0</TargetFramework>
88
<ImplicitUsings>enable</ImplicitUsings>
99
<Nullable>enable</Nullable>
10-
<IsAspireHost>true</IsAspireHost>
1110
<UserSecretsId>10daccf5-26f1-4641-80b2-95f0357607cf</UserSecretsId>
1211
</PropertyGroup>
1312

‎docs/azure/snippets/AppHost.Bicep/AppHost.Bicep.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
<UserSecretsId>5e45e8bd-353b-48d8-ac57-a89e5ee3f8ec</UserSecretsId>
109
</PropertyGroup>
1110
<ItemGroup>

‎docs/database/snippets/cosmos-db/AspireApp.AppHost/AspireApp.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
<UserSecretsId>8cfd753f-f8ea-42ad-897b-8549f2f74848</UserSecretsId>
109
</PropertyGroup>
1110
<ItemGroup>

‎docs/database/snippets/tutorial/aspiresqldeployazure/AspireSql.AppHost/AspireSql.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
<UserSecretsId>15db40fe-0cea-49e1-96c4-b86b7e4d3fd3</UserSecretsId>
109
</PropertyGroup>
1110
<ItemGroup>

‎docs/database/snippets/tutorial/aspiresqldeploycontainer/AspireSql.AppHost/AspireSql.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
<UserSecretsId>15db40fe-0cea-49e1-96c4-b86b7e4d3fd3</UserSecretsId>
109
</PropertyGroup>
1110
<ItemGroup>

‎docs/database/snippets/tutorial/aspiresqlefcore/AspireSQLEFCore.AppHost/AspireSQLEFCore.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
<UserSecretsId>65600b1c-627d-4255-a706-bf7e21108831</UserSecretsId>
109
</PropertyGroup>
1110
<ItemGroup>

‎docs/extensibility/snippets/MailDevResource/MailDevResource.AppHost/MailDevResource.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
<UserSecretsId>9c9bfb14-6706-4421-bc93-37cbaebe36d0</UserSecretsId>
109
</PropertyGroup>
1110
<ItemGroup>

‎docs/extensibility/snippets/MailDevResourceAndComponent/MailDevResource.AppHost/MailDevResource.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
<UserSecretsId>9c9bfb14-6706-4421-bc93-37cbaebe36d0</UserSecretsId>
109
</PropertyGroup>
1110
<ItemGroup>

‎docs/extensibility/snippets/MailDevResourceWithCredentials/MailDevResource.AppHost/MailDevResource.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
<UserSecretsId>9c9bfb14-6706-4421-bc93-37cbaebe36d0</UserSecretsId>
109
</PropertyGroup>
1110
<ItemGroup>

‎docs/frameworks/snippets/Dapr/Dapr.AppHost/Dapr.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
<UserSecretsId>0bd3d839-67a8-422d-aee2-bd9f1c0556a1</UserSecretsId>
109
</PropertyGroup>
1110
<ItemGroup>

‎docs/frameworks/snippets/Orleans/OrleansAppHost/OrleansAppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
<UserSecretsId>88427062-d086-46c2-b35e-171d742a6fe0</UserSecretsId>
109
</PropertyGroup>
1110
<ItemGroup>

‎docs/fundamentals/app-host-overview.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: .NET Aspire orchestration overview
33
description: Learn the fundamental concepts of .NET Aspire orchestration and explore the various APIs for adding resources and expressing dependencies.
4-
ms.date: 03/14/2025
4+
ms.date: 03/19/2025
55
ms.topic: overview
66
uid: dotnet/aspire/app-host
77
---
@@ -40,7 +40,7 @@ builder.Build().Run();
4040

4141
## App host project
4242

43-
The app host project handles running all of the projects that are part of the .NET Aspire project. In other words, it's responsible for orchestrating all apps within the app model. The project itself is a .NET executable project that references the [📦 Aspire.Hosting.AppHost](https://www.nuget.org/packages/Aspire.Hosting.AppHost) NuGet package, sets the `IsAspireHost` property to `true`, and references the [.NET Aspire SDK](dotnet-aspire-sdk.md):
43+
The app host project handles running all of the projects that are part of the .NET Aspire project. In other words, it's responsible for orchestrating all apps within the app model. The project itself is a .NET executable project that references the [📦 Aspire.Hosting.AppHost](https://www.nuget.org/packages/Aspire.Hosting.AppHost) NuGet package, and uses the [.NET Aspire SDK](dotnet-aspire-sdk.md):
4444

4545
```xml
4646
<Project Sdk="Microsoft.NET.Sdk">
@@ -50,7 +50,6 @@ The app host project handles running all of the projects that are part of the .N
5050
<PropertyGroup>
5151
<OutputType>Exe</OutputType>
5252
<TargetFramework>net9.0</TargetFramework>
53-
<IsAspireHost>true</IsAspireHost>
5453
<!-- Omitted for brevity -->
5554
</PropertyGroup>
5655

‎docs/fundamentals/dashboard/snippets/BrowserTelemetry/BrowserTelemetry.AppHost/BrowserTelemetry.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
<UserSecretsId>7247ba20-5e3e-4299-afa7-4ca58ebe3488</UserSecretsId>
109
</PropertyGroup>
1110

‎docs/fundamentals/dotnet-aspire-sdk.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
title: .NET Aspire SDK
33
description: Learn
4-
ms.date: 02/25/2025
4+
ms.date: 03/19/2025
55
uid: dotnet/aspire/sdk
66
---
77

88
# .NET Aspire SDK
99

10-
The .NET Aspire SDK is intended for [_*.AppHost_ projects](app-host-overview.md#app-host-project), which serve as the .NET Aspire orchestrator. These projects are designated using the `<IsAspireHost>true</IsAspireHost>` property, as well as specifying the `Aspire.AppHost.Sdk` in the project file. The SDK provides a set of features that simplify the development of .NET Aspire apps.
10+
The .NET Aspire SDK is intended for [_*.AppHost_ projects](app-host-overview.md#app-host-project), which serve as the .NET Aspire orchestrator. These projects are designated by their usage of the `Aspire.AppHost.Sdk` in the project file. The SDK provides a set of features that simplify the development of .NET Aspire apps.
1111

1212
## Overview
1313

@@ -21,7 +21,6 @@ The [📦 Aspire.AppHost.Sdk](https://www.nuget.org/packages/Aspire.AppHost.Sdk)
2121
<PropertyGroup>
2222
<OutputType>Exe</OutputType>
2323
<TargetFramework>net9.0</TargetFramework>
24-
<IsAspireHost>true</IsAspireHost>
2524
<!-- Omitted for brevity -->
2625
</PropertyGroup>
2726

@@ -33,7 +32,7 @@ The [📦 Aspire.AppHost.Sdk](https://www.nuget.org/packages/Aspire.AppHost.Sdk)
3332
</Project>
3433
```
3534

36-
The preceding example project defines the top-level SDK as `Microsoft.NET.Sdk` and the `Aspire.AppHost.Sdk` as an additive SDK. The `IsAspireHost` property is set to `true` to indicate that this project is an .NET Aspire app host. The project also references the `Aspire.Hosting.AppHost` package which brings in a number of Aspire-related dependencies.
35+
The preceding example project defines the top-level SDK as `Microsoft.NET.Sdk` and the `Aspire.AppHost.Sdk` as an additive SDK. The project also references the `Aspire.Hosting.AppHost` package which brings in a number of Aspire-related dependencies.
3736

3837
## SDK Features
3938

@@ -44,11 +43,13 @@ The .NET Aspire SDK provides several key features.
4443
Each `ProjectReference` in the [.NET Aspire app host][app-host] project isn't treated as standard project references. Instead, they enable the _app host_ to execute these projects as part of its orchestration. Each project reference triggers a generator to create a `class` that represents the project as an <xref:Aspire.Hosting.IProjectMetadata>. This metadata is used to populate the named projects in the generated `Projects` namespace. When you call the <xref:Aspire.Hosting.ProjectResourceBuilderExtensions.AddProject*?displayProperty=fullName> API, the `Projects` namespace is used to reference the project—passing the generated class as a generic-type parameter.
4544

4645
> [!TIP]
47-
> If you need to reference a project in the tranditional way within the app host, set the `IsAspireProjectResource` attribute on the `ProjectReference` element to `false`, as shown in the following example:
46+
> If you need to reference a project in the traditional way within the app host, set the `IsAspireProjectResource` attribute on the `ProjectReference` element to `false`, as shown in the following example:
4847
>
4948
> ```xml
5049
> <ProjectReference Include="..\MyProject\MyProject.csproj" IsAspireProjectResource="false" />
5150
> ```
51+
>
52+
> Otherwise, by default, the `ProjectReference` is treated as .NET Aspire project resource.
5253
5354
### Orchestrator dependencies
5455

‎docs/fundamentals/snippets/custom-commands/AspireApp/AspireApp.AppHost/AspireApp.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<TargetFramework>net9.0</TargetFramework>
88
<ImplicitUsings>enable</ImplicitUsings>
99
<Nullable>enable</Nullable>
10-
<IsAspireHost>true</IsAspireHost>
1110
<UserSecretsId>96e09729-6560-4674-add2-deb02f156d36</UserSecretsId>
1211
</PropertyGroup>
1312

‎docs/fundamentals/snippets/integrations/AspireApp/AspireApp.AppHost/AspireApp.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
</PropertyGroup>
109
<ItemGroup>
1110
<PackageReference Include="Aspire.Hosting.AppHost" Version="9.1.0" />

‎docs/fundamentals/snippets/lifecycles/AspireApp/AspireApp.AppHost/AspireApp.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
<UserSecretsId>d1fafd31-bb63-479d-bc2b-a4067786068f</UserSecretsId>
109
</PropertyGroup>
1110
<ItemGroup>

‎docs/fundamentals/snippets/networking/Networking.AppHost/Networking.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
</PropertyGroup>
109
<ItemGroup>
1110
<PackageReference Include="Aspire.Hosting.AppHost" Version="9.1.0" />

‎docs/fundamentals/snippets/params/Parameters.AppHost/Parameters.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
</PropertyGroup>
109
<ItemGroup>
1110
<PackageReference Include="Aspire.Hosting.AppHost" Version="9.1.0" />

‎docs/fundamentals/snippets/volumes/VolumeMounts.AppHost/VolumeMounts.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
<UserSecretsId>46746d27-b91d-48f7-9c06-d13a0f2325a6</UserSecretsId>
109
</PropertyGroup>
1110
<ItemGroup>

‎docs/get-started/build-your-first-aspire-app.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ The two projects of interest in this quickstart are the _*.AppHost_ and _*.Servi
171171

172172
### .NET Aspire host project
173173

174-
The _*.AppHost_ project is responsible for acting as the orchestrator, and sets the `IsAspireHost` property of the project file to `true`:
174+
The _*.AppHost_ project is responsible for acting as a local dev-orchestrator:
175175

176176
:::code language="xml" source="snippets/quickstart/AspireSample/AspireSample.AppHost/AspireSample.AppHost.csproj" highlight="10":::
177177

‎docs/get-started/snippets/PythonSample/PythonSample.AppHost/PythonSample.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<TargetFramework>net9.0</TargetFramework>
88
<ImplicitUsings>enable</ImplicitUsings>
99
<Nullable>enable</Nullable>
10-
<IsAspireHost>true</IsAspireHost>
1110
<UserSecretsId>5fd92a87-fff8-4a09-9f6e-2c0d656e25ba</UserSecretsId>
1211
</PropertyGroup>
1312

‎docs/get-started/snippets/quickstart/AspireSample/AspireSample.AppHost/AspireSample.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<TargetFramework>net9.0</TargetFramework>
88
<ImplicitUsings>enable</ImplicitUsings>
99
<Nullable>enable</Nullable>
10-
<IsAspireHost>true</IsAspireHost>
1110
<UserSecretsId>2aa31fdb-0078-4b71-b953-d23432af8a36</UserSecretsId>
1211
</PropertyGroup>
1312

‎docs/real-time/snippets/signalr/SignalR.AppHost/SignalR.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
<UserSecretsId>8d495870-a988-4f2c-80fe-ebe614c94d35</UserSecretsId>
109
</PropertyGroup>
1110
<ItemGroup>

‎docs/snippets/azure/AppHost/AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<TargetFramework>net9.0</TargetFramework>
88
<ImplicitUsings>enable</ImplicitUsings>
99
<Nullable>enable</Nullable>
10-
<IsAspireHost>true</IsAspireHost>
1110
<UserSecretsId>70839f09-c301-4bf9-aa1d-59b0a2bfb79e</UserSecretsId>
1211
</PropertyGroup>
1312

‎docs/storage/snippets/tutorial/AspireStorage/AspireStorage.AppHost/AspireStorage.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
<UserSecretsId>90b8925f-9539-4074-b384-2172e0b8354a</UserSecretsId>
109
</PropertyGroup>
1110
<ItemGroup>

‎docs/testing/snippets/testing/mstest/AspireApp.AppHost/AspireApp.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
<UserSecretsId>8832f6df-f7d3-4c65-8eab-22abf6e43ee8</UserSecretsId>
109
</PropertyGroup>
1110
<ItemGroup>

‎docs/testing/snippets/testing/nunit/AspireApp.AppHost/AspireApp.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
<UserSecretsId>2eb28899-ee86-44a2-b637-287cfc49eeaf</UserSecretsId>
109
</PropertyGroup>
1110
<ItemGroup>

‎docs/testing/snippets/testing/xunit/AspireApp.AppHost/AspireApp.AppHost.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsAspireHost>true</IsAspireHost>
98
<UserSecretsId>c5ce4aa4-0324-4023-9e36-94433cef32dc</UserSecretsId>
109
</PropertyGroup>
1110
<ItemGroup>

0 commit comments

Comments
 (0)
Please sign in to comment.