Skip to content

Commit

Permalink
fix(Gateway): Updated launch settings to allow debugging the Dashboar…
Browse files Browse the repository at this point in the history
…d WASM
  • Loading branch information
cdavernas committed Apr 15, 2024
1 parent e5759ed commit c827fbb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
Expand All @@ -21,6 +21,7 @@
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<DockerfileContext>..\..\..</DockerfileContext><IsPackable>true</IsPackable>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
<UserSecretsId>909f35f5-c6c0-4abd-b2e2-699b307cd4aa</UserSecretsId>
</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion src/core/CloudStreams.Core/CloudStreams.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
Expand All @@ -16,6 +16,7 @@
<RepositoryUrl>https://github.com/neuroglia-io/cloud-streams</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<UserSecretsId>7bc875f7-ac1c-432d-93b2-7c228be79c8c</UserSecretsId>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
Expand All @@ -21,6 +21,7 @@
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<DockerfileContext>..\..\..</DockerfileContext>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
<UserSecretsId>07f9091b-f950-4424-aac2-d69a94248f77</UserSecretsId>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions src/gateway/CloudStreams.Gateway.Api/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@

using var app = builder.Build();

if (app.Environment.IsDevelopment()) app.UseWebAssemblyDebugging();
app.UseResponseCompression();
app.UseBlazorFrameworkFiles();
app.UseStaticFiles();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"CLOUDSTREAMS_GATEWAY_NAME": "gateway-1"
},
"dotnetRunMessages": true,
"applicationUrl": "http://localhost:5139"
"applicationUrl": "http://localhost:5139",
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}"
},
"IIS Express": {
"commandName": "IISExpress",
Expand Down

0 comments on commit c827fbb

Please sign in to comment.