File tree Expand file tree Collapse file tree 9 files changed +24
-15
lines changed
tutorials/nservicebus-sagas/2-timeouts/Solution Expand file tree Collapse file tree 9 files changed +24
-15
lines changed Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <TargetFramework >net48 </TargetFramework >
3
+ <TargetFramework >net8.0 </TargetFramework >
4
4
<OutputType >Exe</OutputType >
5
- <LangVersion >10 .0</LangVersion >
5
+ <LangVersion >12 .0</LangVersion >
6
6
</PropertyGroup >
7
7
<ItemGroup >
8
- <PackageReference Include =" NServiceBus" Version =" 7 .*" />
8
+ <PackageReference Include =" NServiceBus" Version =" 9 .*" />
9
9
<ProjectReference Include =" ..\Messages\Messages.csproj" />
10
10
</ItemGroup >
11
11
</Project >
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ static async Task Main()
12
12
13
13
var endpointConfiguration = new EndpointConfiguration ( "Billing" ) ;
14
14
15
+ endpointConfiguration . UseSerialization < SystemJsonSerializer > ( ) ;
16
+
15
17
var transport = endpointConfiguration . UseTransport < LearningTransport > ( ) ;
16
18
17
19
var endpointInstance = await Endpoint . Start ( endpointConfiguration ) ;
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <TargetFramework >net48 </TargetFramework >
3
+ <TargetFramework >net8.0 </TargetFramework >
4
4
<OutputType >Exe</OutputType >
5
- <LangVersion >10 .0</LangVersion >
5
+ <LangVersion >12 .0</LangVersion >
6
6
</PropertyGroup >
7
7
<ItemGroup >
8
- <PackageReference Include =" NServiceBus" Version =" 7 .*" />
8
+ <PackageReference Include =" NServiceBus" Version =" 9 .*" />
9
9
<ProjectReference Include =" ..\Messages\Messages.csproj" />
10
10
</ItemGroup >
11
11
</Project >
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ static async Task Main()
14
14
15
15
var endpointConfiguration = new EndpointConfiguration ( "ClientUI" ) ;
16
16
17
+ endpointConfiguration . UseSerialization < SystemJsonSerializer > ( ) ;
18
+
17
19
var transport = endpointConfiguration . UseTransport < LearningTransport > ( ) ;
18
20
19
21
var routing = transport . Routing ( ) ;
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <TargetFramework >net48 </TargetFramework >
4
- <LangVersion >10 .0</LangVersion >
3
+ <TargetFramework >net8.0 </TargetFramework >
4
+ <LangVersion >12 .0</LangVersion >
5
5
</PropertyGroup >
6
6
<ItemGroup >
7
- <PackageReference Include =" NServiceBus" Version =" 7 .*" />
7
+ <PackageReference Include =" NServiceBus" Version =" 9 .*" />
8
8
</ItemGroup >
9
9
</Project >
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ static async Task Main()
12
12
13
13
var endpointConfiguration = new EndpointConfiguration ( "Sales" ) ;
14
14
15
+ endpointConfiguration . UseSerialization < SystemJsonSerializer > ( ) ;
16
+
15
17
var transport = endpointConfiguration . UseTransport < LearningTransport > ( ) ;
16
18
17
19
var persistence = endpointConfiguration . UsePersistence < LearningPersistence > ( ) ;
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <TargetFramework >net48 </TargetFramework >
3
+ <TargetFramework >net8.0 </TargetFramework >
4
4
<OutputType >Exe</OutputType >
5
- <LangVersion >10 .0</LangVersion >
5
+ <LangVersion >12 .0</LangVersion >
6
6
</PropertyGroup >
7
7
<ItemGroup >
8
- <PackageReference Include =" NServiceBus" Version =" 7 .*" />
8
+ <PackageReference Include =" NServiceBus" Version =" 9 .*" />
9
9
<ProjectReference Include =" ..\Messages\Messages.csproj" />
10
10
</ItemGroup >
11
11
</Project >
Original file line number Diff line number Diff line change @@ -12,7 +12,10 @@ static async Task Main()
12
12
13
13
var endpointConfiguration = new EndpointConfiguration ( "Shipping" ) ;
14
14
15
+ endpointConfiguration . UseSerialization < SystemJsonSerializer > ( ) ;
16
+
15
17
var transport = endpointConfiguration . UseTransport < LearningTransport > ( ) ;
18
+
16
19
var persistence = endpointConfiguration . UsePersistence < LearningPersistence > ( ) ;
17
20
18
21
var endpointInstance = await Endpoint . Start ( endpointConfiguration ) ;
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <TargetFramework >net48 </TargetFramework >
3
+ <TargetFramework >net8.0 </TargetFramework >
4
4
<OutputType >Exe</OutputType >
5
- <LangVersion >10 .0</LangVersion >
5
+ <LangVersion >12 .0</LangVersion >
6
6
</PropertyGroup >
7
7
<ItemGroup >
8
- <PackageReference Include =" NServiceBus" Version =" 7 .*" />
8
+ <PackageReference Include =" NServiceBus" Version =" 9 .*" />
9
9
<ProjectReference Include =" ..\Messages\Messages.csproj" />
10
10
</ItemGroup >
11
11
</Project >
You can’t perform that action at this time.
0 commit comments