You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,26 +45,32 @@ Loosely based Frontend middleware on https://auth0.com/blog/building-a-reverse-p
45
45
46
46
## Dependencies
47
47
48
-
.NET 8 minimum
48
+
.NET 9 (should run on .NET 8 also, but targets 9 in the example projects)
49
49
50
50
MessagePack for fast binary package transport https://github.com/MessagePack-CSharp/MessagePack-CSharp
51
51
52
52
## Running development mode
53
53
54
54
#### Visual Studio
55
-
Set SignalRGatewayTunnel.AppHost as start up project and run (F5)
55
+
Set `AppHost` as start up project and run (F5)
56
56
57
57
#### 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
59
59
60
60
#### Command Line
61
-
Run `dotnet run --project SignalRGatewayTunnel.AppHost`
61
+
Run `dotnet run --project AppHost`
62
62
63
63
You may have to select the dashboard link shown in the console output to launch in the browser
64
64
65
65
This will run the .NET Aspire host, launching the components and dashboard in the browser showing the service status.
66
66
67
67
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.
0 commit comments