diff --git a/aspnetcore/fundamentals/minimal-apis.md b/aspnetcore/fundamentals/minimal-apis.md index 4263a8267c..94ba428172 100644 --- a/aspnetcore/fundamentals/minimal-apis.md +++ b/aspnetcore/fundamentals/minimal-apis.md @@ -143,7 +143,7 @@ app.MapGet("/text", () => Results.Text("This is some text")); var proxyClient = new HttpClient(); app.MapGet("/pokemon", async () => { - var stream = await proxyClient.GetStreamAsync("http://consoto/pokedex.json"); + var stream = await proxyClient.GetStreamAsync("http://contoso/pokedex.json"); // Proxy the response as JSON return Results.Stream(stream, "application/json"); }); diff --git a/aspnetcore/fundamentals/minimal-apis/7.0-samples/WebMinAPIs/Program.cs b/aspnetcore/fundamentals/minimal-apis/7.0-samples/WebMinAPIs/Program.cs index 00014398b0..20d65b648f 100644 --- a/aspnetcore/fundamentals/minimal-apis/7.0-samples/WebMinAPIs/Program.cs +++ b/aspnetcore/fundamentals/minimal-apis/7.0-samples/WebMinAPIs/Program.cs @@ -642,7 +642,7 @@ var app = builder.Build(); var proxyClient = new HttpClient(); app.MapGet("/pokemon", async () => { - var stream = await proxyClient.GetStreamAsync("http://consoto/pokedex.json"); + var stream = await proxyClient.GetStreamAsync("http://contoso/pokedex.json"); // Proxy the response as JSON return Results.Stream(stream, "application/json"); }); diff --git a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis7.md b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis7.md index 9c69dfb7a5..7958e50af8 100644 --- a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis7.md +++ b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis7.md @@ -127,7 +127,7 @@ app.MapGet("/text", () => Results.Text("This is some text")); var proxyClient = new HttpClient(); app.MapGet("/pokemon", async () => { - var stream = await proxyClient.GetStreamAsync("http://consoto/pokedex.json"); + var stream = await proxyClient.GetStreamAsync("http://contoso/pokedex.json"); // Proxy the response as JSON return Results.Stream(stream, "application/json"); }); diff --git a/aspnetcore/fundamentals/minimal-apis/samples/WebMinAPIs/Program.cs b/aspnetcore/fundamentals/minimal-apis/samples/WebMinAPIs/Program.cs index 6b2a486161..a9426f5a40 100644 --- a/aspnetcore/fundamentals/minimal-apis/samples/WebMinAPIs/Program.cs +++ b/aspnetcore/fundamentals/minimal-apis/samples/WebMinAPIs/Program.cs @@ -643,7 +643,7 @@ var app = builder.Build(); var proxyClient = new HttpClient(); app.MapGet("/pokemon", async () => { - var stream = await proxyClient.GetStreamAsync("http://consoto/pokedex.json"); + var stream = await proxyClient.GetStreamAsync("http://contoso/pokedex.json"); // Proxy the response as JSON return Results.Stream(stream, "application/json"); }); diff --git a/aspnetcore/fundamentals/use-http-context/samples/Program.cs b/aspnetcore/fundamentals/use-http-context/samples/Program.cs index 2a9b8d604d..c5f7c7ec1f 100644 --- a/aspnetcore/fundamentals/use-http-context/samples/Program.cs +++ b/aspnetcore/fundamentals/use-http-context/samples/Program.cs @@ -106,7 +106,7 @@ var httpClient = new HttpClient(); app.MapPost("/books/{bookId}", async (int bookId, HttpContext context) => { var stream = await httpClient.GetStreamAsync( - $"http://consoto/books/{bookId}.json", context.RequestAborted); + $"http://contoso/books/{bookId}.json", context.RequestAborted); // Proxy the response as JSON return Results.Stream(stream, "application/json");