Skip to content

Commit 383b710

Browse files
authored
Make main method code block match the line by line description below
1 parent 2fe9cf5 commit 383b710

File tree

1 file changed

+4
-3
lines changed
  • tutorials/nservicebus-step-by-step/1-getting-started/Snippets/Core_9

1 file changed

+4
-3
lines changed

tutorials/nservicebus-step-by-step/1-getting-started/Snippets/Core_9/Lesson1.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ class StepByStep
2222

2323
static async Task Main(string[] args)
2424
{
25+
Console.Title = "ClientUI";
26+
2527
var builder = Host.CreateApplicationBuilder(args);
2628

2729
var endpointConfiguration = new EndpointConfiguration("ClientUI");
28-
2930
endpointConfiguration.UseSerialization<SystemJsonSerializer>();
3031

31-
var routing = endpointConfiguration.UseTransport(new LearningTransport());
32+
var transport = endpointConfiguration.UseTransport(new LearningTransport());
3233

3334
}
3435
#endregion
@@ -62,4 +63,4 @@ static async Task Steps(string[] args)
6263
}
6364
}
6465

65-
#pragma warning restore 1998
66+
#pragma warning restore 1998

0 commit comments

Comments
 (0)