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(); ```