Skip to content

Commit a9bca64

Browse files
committed
Update to .NET 9
1 parent 427e74c commit a9bca64

6 files changed

Lines changed: 16 additions & 10 deletions

File tree

AppHost/AppHost.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<PropertyGroup>
66
<OutputType>Exe</OutputType>
7-
<TargetFramework>net8.0</TargetFramework>
7+
<TargetFramework>net9.0</TargetFramework>
88
<ImplicitUsings>enable</ImplicitUsings>
99
<Nullable>enable</Nullable>
1010
<UserSecretsId>2f5cf0e6-04ba-425c-9e34-c6da020ecdfb</UserSecretsId>

Backend/Backend.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<UserSecretsId>246972d0-2477-4915-8d25-164c075b48f3</UserSecretsId>

Frontend/Frontend.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<UserSecretsId>e498ca58-c3d8-46f1-b349-6db90480b0c6</UserSecretsId>

Model/Model.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
</PropertyGroup>

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,26 +45,32 @@ Loosely based Frontend middleware on https://auth0.com/blog/building-a-reverse-p
4545

4646
## Dependencies
4747

48-
.NET 8 minimum
48+
.NET 9 (should run on .NET 8 also, but targets 9 in the example projects)
4949

5050
MessagePack for fast binary package transport https://github.com/MessagePack-CSharp/MessagePack-CSharp
5151

5252
## Running development mode
5353

5454
#### Visual Studio
55-
Set SignalRGatewayTunnel.AppHost as start up project and run (F5)
55+
Set `AppHost` as start up project and run (F5)
5656

5757
#### Visual Studio Code
58-
From Solution Explorer, right click SignalRGatewayTunnel.AppHost and select Debug -> Start New Instance
58+
From Solution Explorer, right click `AppHost` and select Debug -> Start New Instance
5959

6060
#### Command Line
61-
Run `dotnet run --project SignalRGatewayTunnel.AppHost`
61+
Run `dotnet run --project AppHost`
6262

6363
You may have to select the dashboard link shown in the console output to launch in the browser
6464

6565
This will run the .NET Aspire host, launching the components and dashboard in the browser showing the service status.
6666

6767
If the Backend Gateway has connected to the frontend successfully, browse to the Frontend Proxy URL (http://localhost:5105 or https://localhost:7175).
68-
This will send the HTTP request in the browser via the gateway to the destination endpoint at http://localhost:9000 and return the response or timeout if destination is not running.
68+
This will send the HTTP request in the browser via the gateway to the destination endpoint at http://localhost:5174 and return the response or timeout if destination is not running.
69+
70+
## Configuration
71+
72+
`launchSettings.json` in each project defines config for ports etc to launch each app. `AppHost` defines the development environment.
73+
74+
`Backend\appsettings.*.json` defines the destination endpoint to forward inbound requests to, and the tunnel endpoint on the frontend to register with.
6975

7076

ServiceDefaults/ServiceDefaults.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<IsAspireSharedProject>true</IsAspireSharedProject>

0 commit comments

Comments
 (0)