From 036666e04e3dc4070e6bbd3ea11b53755335c4d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Leiszen?= Date: Sun, 20 Mar 2022 21:42:35 +0100 Subject: [PATCH] Update local_development_configuration.md fixed typos in sample code --- .../configuration_guide/local_development_configuration.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/docs/host/configuration_guide/local_development_configuration.md b/src/docs/host/configuration_guide/local_development_configuration.md index d7da0624..52cf1c13 100644 --- a/src/docs/host/configuration_guide/local_development_configuration.md +++ b/src/docs/host/configuration_guide/local_development_configuration.md @@ -95,7 +95,7 @@ You can create an empty console application project targeting .NET Framework 4.6 Here is an example of how a client can connect to a local silo: ```csharp -client = new ClientBuilder() +var builder = new ClientBuilder() // Use localhost clustering for a single local silo .UseLocalhostClustering() // Configure ClusterId and ServiceId @@ -104,7 +104,8 @@ client = new ClientBuilder() options.ClusterId = "dev"; options.ServiceId = "MyAwesomeService"; }) - .ConfigureLogging(logging => logging.AddConsole()) + .ConfigureLogging(logging => logging.AddConsole()); + var client = builder.Build(); await client.Connect(); ```