Skip to content

Commit 0aed1d4

Browse files
authored
Update BWA solution start guidance (#35624)
1 parent 8deb1d7 commit 0aed1d4

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

aspnetcore/blazor/security/blazor-web-app-with-entra.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ The sample solution consists of the following projects:
4343

4444
Access the sample through the latest version folder in the Blazor samples repository with the following link. The sample is in the `BlazorWebAppEntra` folder for .NET 9 or later.
4545

46+
Start the solution from the ***`Aspire/Aspire.AppHost` project***.
47+
4648
[View or download sample code](https://github.com/dotnet/blazor-samples) ([how to download](xref:blazor/fundamentals/index#sample-apps))
4749

4850
## Microsoft Entra ID app registrations

aspnetcore/blazor/security/blazor-web-app-with-oidc.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ The sample app consists of the following projects:
4545

4646
Access the sample through the latest version folder in the Blazor samples repository with the following link. The sample is in the `BlazorWebAppOidc` folder for .NET 8 or later.
4747

48+
Start the solution from the ***`Aspire/Aspire.AppHost` project***.
49+
4850
[View or download sample code](https://github.com/dotnet/blazor-samples) ([how to download](xref:blazor/fundamentals/index#sample-apps))
4951

5052
Sample solution features:

aspnetcore/blazor/security/includes/troubleshoot-server.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,16 @@ A functioning app may fail immediately after upgrading either the .NET Core SDK
103103
> [!NOTE]
104104
> Use of package versions incompatible with the app's target framework isn't supported. For information on a package, use the [NuGet Gallery](https://www.nuget.org).
105105
106-
### Run the server app
106+
### Start the solution from the correct project
107107

108-
When testing and troubleshooting Blazor Web App, make sure that you're running the app from the server project.
108+
Blazor Web Apps:
109+
110+
* For one of the Backend-for-Frontend (BFF) pattern samples, start the solution from the ***`Aspire/Aspire.AppHost` project***.
111+
* For one of the non-BFF pattern samples, start the solution from the ***server project***.
112+
113+
Blazor Server:
114+
115+
Start the solution from the ***server project***.
109116

110117
### Inspect the user
111118

0 commit comments

Comments
 (0)