Launch settings file for hosted WASM apps (#28385)
parent
70d154a561
commit
f620051332
|
@ -1538,6 +1538,9 @@ The **:::no-loc text="Server":::** project's `Properties/launchSettings.json` fi
|
|||
}
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
> When the app is launched from the :::no-loc text="Server"::: project, only the `Properties/launchSettings.json` file in the :::no-loc text="Server"::: project is used. The `Properties/launchSettings.json` file in the :::no-loc text="Client"::: project is ***not*** used.
|
||||
|
||||
## Attach to an existing debugging session
|
||||
|
||||
To attach to a running Blazor app, create a `.vscode/launch.json` file with the following configuration. Replace the `{URL}` placeholder with the URL where the app is running:
|
||||
|
|
|
@ -47,6 +47,8 @@ For more information on trusting the ASP.NET Core HTTPS development certificate,
|
|||
|
||||
> [!IMPORTANT]
|
||||
> When executing a hosted Blazor WebAssembly app, run the app from the solution's **:::no-loc text="Server":::** project.
|
||||
>
|
||||
> When the app is launched, only the `Properties/launchSettings.json` file in the :::no-loc text="Server"::: project is used.
|
||||
|
||||
:::zone-end
|
||||
|
||||
|
@ -250,6 +252,8 @@ Use the [.NET command-line interface (CLI)](/dotnet/core/tools/) to execute comm
|
|||
|
||||
> [!IMPORTANT]
|
||||
> When executing a hosted Blazor WebAssembly app, run the app from the solution's **:::no-loc text="Server":::** project.
|
||||
>
|
||||
> When the app is launched, only the `Properties/launchSettings.json` file in the :::no-loc text="Server"::: project is used.
|
||||
|
||||
:::moniker range=">= aspnetcore-6.0"
|
||||
|
||||
|
@ -446,6 +450,8 @@ If a prompt appears to trust the development certificate, trust the certificate
|
|||
|
||||
> [!IMPORTANT]
|
||||
> When executing a hosted Blazor WebAssembly app, run the app from the solution's **:::no-loc text="Server":::** project.
|
||||
>
|
||||
> When the app is launched, only the `Properties/launchSettings.json` file in the :::no-loc text="Server"::: project is used.
|
||||
|
||||
:::zone-end
|
||||
|
||||
|
|
Loading…
Reference in New Issue