From 383b710aeb2bff288d526fd781a5c8529c2b090b Mon Sep 17 00:00:00 2001 From: Nix Bohon Date: Wed, 30 Oct 2024 07:23:58 -0500 Subject: [PATCH] Make main method code block match the line by line description below --- .../1-getting-started/Snippets/Core_9/Lesson1.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tutorials/nservicebus-step-by-step/1-getting-started/Snippets/Core_9/Lesson1.cs b/tutorials/nservicebus-step-by-step/1-getting-started/Snippets/Core_9/Lesson1.cs index 170c4fef5bd..0505f6211b0 100644 --- a/tutorials/nservicebus-step-by-step/1-getting-started/Snippets/Core_9/Lesson1.cs +++ b/tutorials/nservicebus-step-by-step/1-getting-started/Snippets/Core_9/Lesson1.cs @@ -22,13 +22,14 @@ class StepByStep static async Task Main(string[] args) { + Console.Title = "ClientUI"; + var builder = Host.CreateApplicationBuilder(args); var endpointConfiguration = new EndpointConfiguration("ClientUI"); - endpointConfiguration.UseSerialization(); - var routing = endpointConfiguration.UseTransport(new LearningTransport()); + var transport = endpointConfiguration.UseTransport(new LearningTransport()); } #endregion @@ -62,4 +63,4 @@ static async Task Steps(string[] args) } } -#pragma warning restore 1998 \ No newline at end of file +#pragma warning restore 1998