Skip to content

Commit cabeda5

Browse files
committed
Update Message Replay tutorial to use NServiceBus v9
1 parent be80637 commit cabeda5

File tree

9 files changed

+13
-5
lines changed

9 files changed

+13
-5
lines changed

tutorials/message-replay/Solution/Billing/Billing.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<LangVersion>12.0</LangVersion>
66
</PropertyGroup>
77
<ItemGroup>
8-
<PackageReference Include="NServiceBus" Version="7.*" />
8+
<PackageReference Include="NServiceBus" Version="9.*" />
99
<ProjectReference Include="..\Messages\Messages.csproj" />
1010
</ItemGroup>
1111
</Project>

tutorials/message-replay/Solution/Billing/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ static async Task Main()
1212

1313
var endpointConfiguration = new EndpointConfiguration("Billing");
1414

15+
endpointConfiguration.UseSerialization<SystemJsonSerializer>();
16+
1517
endpointConfiguration.UseTransport<LearningTransport>();
1618

1719
var endpointInstance = await Endpoint.Start(endpointConfiguration);

tutorials/message-replay/Solution/ClientUI/ClientUI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<LangVersion>12.0</LangVersion>
66
</PropertyGroup>
77
<ItemGroup>
8-
<PackageReference Include="NServiceBus" Version="7.*" />
8+
<PackageReference Include="NServiceBus" Version="9.*" />
99
<ProjectReference Include="..\Messages\Messages.csproj" />
1010
</ItemGroup>
1111
</Project>

tutorials/message-replay/Solution/ClientUI/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ static async Task Main()
1414

1515
var endpointConfiguration = new EndpointConfiguration("ClientUI");
1616

17+
endpointConfiguration.UseSerialization<SystemJsonSerializer>();
18+
1719
var transport = endpointConfiguration.UseTransport<LearningTransport>();
1820

1921
var routing = transport.Routing();

tutorials/message-replay/Solution/Messages/Messages.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
<LangVersion>12.0</LangVersion>
55
</PropertyGroup>
66
<ItemGroup>
7-
<PackageReference Include="NServiceBus" Version="7.*" />
7+
<PackageReference Include="NServiceBus" Version="9.*" />
88
</ItemGroup>
99
</Project>

tutorials/message-replay/Solution/Sales/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ static async Task Main()
1212

1313
var endpointConfiguration = new EndpointConfiguration("Sales");
1414

15+
endpointConfiguration.UseSerialization<SystemJsonSerializer>();
16+
1517
endpointConfiguration.UseTransport<LearningTransport>();
1618

1719
#region NoDelayedRetries

tutorials/message-replay/Solution/Sales/Sales.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<LangVersion>12.0</LangVersion>
66
</PropertyGroup>
77
<ItemGroup>
8-
<PackageReference Include="NServiceBus" Version="7.*" />
8+
<PackageReference Include="NServiceBus" Version="9.*" />
99
<ProjectReference Include="..\Messages\Messages.csproj" />
1010
</ItemGroup>
1111
</Project>

tutorials/message-replay/Solution/Shipping/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ static async Task Main()
1212

1313
var endpointConfiguration = new EndpointConfiguration("Shipping");
1414

15+
endpointConfiguration.UseSerialization<SystemJsonSerializer>();
16+
1517
endpointConfiguration.UseTransport<LearningTransport>();
1618

1719
var endpointInstance = await Endpoint.Start(endpointConfiguration);

tutorials/message-replay/Solution/Shipping/Shipping.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<LangVersion>12.0</LangVersion>
66
</PropertyGroup>
77
<ItemGroup>
8-
<PackageReference Include="NServiceBus" Version="7.*" />
8+
<PackageReference Include="NServiceBus" Version="9.*" />
99
<ProjectReference Include="..\Messages\Messages.csproj" />
1010
</ItemGroup>
1111
</Project>

0 commit comments

Comments
 (0)