diff --git a/docs/frontend_backend_run.md b/docs/frontend_backend_run.md index 4bd805f0..1cb3e931 100644 --- a/docs/frontend_backend_run.md +++ b/docs/frontend_backend_run.md @@ -111,10 +111,10 @@ Now that we have two applications running, let's make them communicate. By defau { public class WeatherClient { - private readonly JsonSerializerOptions options = new JsonSerializerOptions() + private readonly JsonSerializerOptions options = new JsonSerializerOptions() { PropertyNameCaseInsensitive = true, - PropertyNamingPolicy = JsonNamingPolicy. CamelCase, + PropertyNamingPolicy = JsonNamingPolicy.CamelCase, }; private readonly HttpClient client; @@ -124,11 +124,11 @@ Now that we have two applications running, let's make them communicate. By defau this.client = client; } - public async Task GetWeatherAsync() + public async Task GetWeatherAsync() { - var responseMessage = await this.client. GetAsync("/weatherforecast"); - var stream = await responseMessage.Content. ReadAsStreamAsync(); - return await JsonSerializer. DeserializeAsync(stream, options); + var responseMessage = await this.client.GetAsync("/weatherforecast"); + var stream = await responseMessage.Content.ReadAsStreamAsync(); + return await JsonSerializer.DeserializeAsync(stream, options); } } }