Skip to content

Commit c1046b2

Browse files
authored
Quick edit
1 parent 97e9815 commit c1046b2

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

aspnetcore/fundamentals/servers/yarp/getting-started.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,12 @@ ai-usage: ai-assisted
1212

1313
# Getting Started with YARP
1414

15-
YARP is designed as a library that provides the core proxy functionality which you can then customize by adding or replacing modules.
16-
YARP is currently provided as a NuGet package and code snippets.
17-
We plan on providing a project template and pre-built exe in the future.
15+
YARP is designed as a library that provides the core proxy functionality which you can then customize by adding or replacing modules. YARP is currently provided as a NuGet package and code snippets. We plan on providing a project template and pre-built executable (`.exe`) in the future.
1816

19-
YARP is implemented on top of .NET Core infrastructure and is usable on Windows, Linux or MacOS.
20-
Development can be done with the SDK and your favorite editor, [Microsoft Visual Studio](https://visualstudio.microsoft.com/vs/) or [Visual Studio Code](https://code.visualstudio.com/).
17+
YARP is implemented on top of .NET Core infrastructure and is usable on Windows, Linux or MacOS. Development can be done with the SDK and your favorite editor, [Microsoft Visual Studio](https://visualstudio.microsoft.com/vs/) or [Visual Studio Code](https://code.visualstudio.com/).
2118

2219
YARP 2.3.0 supports ASP.NET Core 8.0 and newer.
20+
2321
You can download the .NET SDK from https://dotnet.microsoft.com/download/dotnet/.
2422

2523
Visual Studio support for .NET 8 is included in Visual Studio 2022 17.8.
@@ -30,11 +28,11 @@ A complete version of the project built using the steps below can be found at [B
3028

3129
Start by creating an "Empty" ASP.NET Core application using the command line:
3230

33-
```Console
31+
```dotnetcli
3432
dotnet new web -n MyProxy -f net8.0
3533
```
3634

37-
Or create a new ASP.NET Core web application in Visual Studio 2022, and choose "Empty" for the project template.
35+
Alternatively, create a new ASP.NET Core web application in Visual Studio 2022, choosing "Empty" for the project template.
3836

3937
### Add the project reference
4038

@@ -48,7 +46,7 @@ Or create a new ASP.NET Core web application in Visual Studio 2022, and choose "
4846

4947
Update Program.cs to use the YARP middleware:
5048

51-
```C#
49+
```csharp
5250
var builder = WebApplication.CreateBuilder(args);
5351
builder.Services.AddReverseProxy()
5452
.LoadFromConfig(builder.Configuration.GetSection("ReverseProxy"));
@@ -59,11 +57,11 @@ app.Run();
5957

6058
## Configuration
6159

62-
The configuration for YARP is defined in the appsettings.json file. See [Configuration Files](xref:fundamentals/servers/yarp/config-files) for details.
60+
The configuration for YARP is defined in the `appsettings.json` file. For more information, see <xref:fundamentals/servers/yarp/config-files>.
6361

64-
The configuration can also be provided programmatically. See [Configuration Providers](xref:fundamentals/servers/yarp/config-providers) for details.
62+
The configuration can also be provided programmatically. For more information, see <xref:fundamentals/servers/yarp/config-providers>.
6563

66-
You can find out more about the available configuration options by looking at [RouteConfig](xref:Yarp.ReverseProxy.Configuration.RouteConfig) and [ClusterConfig](xref:Yarp.ReverseProxy.Configuration.ClusterConfig).
64+
Learn more about the available configuration options by looking at <xref:Yarp.ReverseProxy.Configuration.RouteConfig> and <xref:Yarp.ReverseProxy.Configuration.ClusterConfig>.
6765

6866
```JSON
6967
{

0 commit comments

Comments
 (0)