Skip to content

Commit

Permalink
Update package versions in markdown files
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianEdwards committed Aug 3, 2024
1 parent 55e5e23 commit 5be7f21
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion labs/2-Create-Blazor-Frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Now that we have a service we can use to easily retrieve the catalog items from
1. [YARP](https://microsoft.github.io/reverse-proxy/) is a package for ASP.NET Core applications that provides highly customizable reverse proxying capabilities. We'll use YARP to proxy the product image requests to the frontend site on to the Catalog API. Add a reference to the `Microsoft.Extensions.ServiceDiscovery.Yarp` package, version `8.0.1`. You can use the [`dotnet` CLI](https://learn.microsoft.com/dotnet/core/tools/dotnet-add-package), or Visual Studio NuGet Package Manager, or edit the `WebApp.csproj` directly:
```xml
<PackageReference Include="Microsoft.Extensions.ServiceDiscovery.Yarp" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.ServiceDiscovery.Yarp" Version="8.1.0" />
```

1. To setup the proxying behavior, first add a line to the `AddApplicationServices` method in the `HostingExtensions.cs` file, to add the require services to the application's DI container:
Expand Down
2 changes: 1 addition & 1 deletion labs/3-Add-Identity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Now that our Keycloak instance is setup as an IdP, we can configure the web site
1. Open the `WebApp` project and add a reference to the `Microsoft.AspNetCore.Authentication.OpenIdConnect` NuGet package, version `8.0.1`. You can use the `dotnet` CLI, Visual Studio NuGet Package Manager, or just edit the .csproj file manually:

```xml
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.7" />
```

1. In the `WebApp` project, open the `HostingExtensions.cs` file and add a new field to define a name for the `HttpClient` instance the OIDC code will use:
Expand Down
8 changes: 4 additions & 4 deletions labs/4-Add-Shopping-Basket/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ In the .NET CLI, we need to do a few steps manually to configure .NET Aspire orc
```

```xml
<PackageReference Include="Aspire.Hosting.Redis" Version="8.0.1" />
<PackageReference Include="Aspire.Hosting.Redis" Version="8.1.0" />
```

1. Open the `Program.cs` file in the `eShop.AppHost` project and add a line to create a new Redis resource named `"BasketStore"` and configure it to host a [Redis Commander](https://joeferner.github.io/redis-commander/) instance too (this will make it easier to inspect the Redis database during development). Capture the resource in a `basketStore` variable:
Expand Down Expand Up @@ -143,7 +143,7 @@ In the .NET CLI, we need to do a few steps manually to configure .NET Aspire orc
Add the `Aspire.StackExchange.Redis` component NuGet package to the `Basket.API` project. You can use the **Add > .NET Aspire Compoenent...** project menu item in Visual Studio, the `dotnet add package` command at the command line, or by editing the `Basket.API.csproj` file directly:

```xml
<PackageReference Include="Aspire.StackExchange.Redis" Version="8.0.1" />
<PackageReference Include="Aspire.StackExchange.Redis" Version="8.1.0" />
```

1. In the `AddApplicationServices` method in `HostingExtensions.cs`, add a call to `AddRedis` to configure the Redis client in the application's DI container. Pass the name `"BasketStore"` to the method to indicate that the client should be configured to connect to the Redis resource with that name in the AppHost:
Expand Down Expand Up @@ -513,8 +513,8 @@ The starting point for this lab already includes updates to the web site to prov
- `Grpc.Tools`

```xml
<PackageReference Include="Grpc.AspNetCore.Server.ClientFactory" Version="2.59.0" />
<PackageReference Include="Grpc.Tools" PrivateAssets="All" Version="2.60.0" />
<PackageReference Include="Grpc.AspNetCore.Server.ClientFactory" Version="2.65.0" />
<PackageReference Include="Grpc.Tools" PrivateAssets="All" Version="2.65.0" />
```

1. In the `WebApp.csproj` project file, add the `basket.proto` file from the `Basket.API` project as a `Protobuf` item in the project and set the `GrpcServices` metadata to `"Client"` to indicate that it should be used to generate client-side code for the gRPC service:
Expand Down

0 comments on commit 5be7f21

Please sign in to comment.