From fe53b3d4040a65da729c4c7e66f12681bf431d0f Mon Sep 17 00:00:00 2001 From: Irina Scurtu Date: Thu, 17 Jul 2025 16:06:56 +0300 Subject: [PATCH 1/2] Added the project for .NET 10 --- .../unobtrusive/Core_10/Client/Client.csproj | 24 ++++++ .../Core_10/Client/CommandSender.cs | 86 +++++++++++++++++++ .../Core_10/Client/InputLoopService.cs | 19 ++++ .../Core_10/Client/MyEventHandler.cs | 11 +++ samples/unobtrusive/Core_10/Client/Program.cs | 20 +++++ .../Core_10/Client/ResponseHandler.cs | 11 +++ .../Core_10/ConventionExtensions.cs | 38 ++++++++ .../Core_10/Server/CommandSender.cs | 36 ++++++++ .../Core_10/Server/InputLoopService.cs | 17 ++++ .../Core_10/Server/LargeMessageHandler.cs | 18 ++++ .../Server/MessageThatExpiresHandler.cs | 12 +++ .../Core_10/Server/MyCommandHandler.cs | 11 +++ samples/unobtrusive/Core_10/Server/Program.cs | 21 +++++ .../Core_10/Server/RequestMessageHandler.cs | 15 ++++ .../unobtrusive/Core_10/Server/Server.csproj | 24 ++++++ .../Core_10/Shared/LargeMessage.cs | 10 +++ .../Core_10/Shared/MessageThatExpires.cs | 8 ++ .../unobtrusive/Core_10/Shared/MyCommand.cs | 8 ++ samples/unobtrusive/Core_10/Shared/MyEvent.cs | 8 ++ samples/unobtrusive/Core_10/Shared/Request.cs | 8 ++ .../unobtrusive/Core_10/Shared/Response.cs | 8 ++ .../unobtrusive/Core_10/Shared/Shared.csproj | 10 +++ samples/unobtrusive/Core_10/Unobtrusive.sln | 29 +++++++ samples/unobtrusive/Core_10/prerelease.txt | 0 samples/versioning/Core_10/Versioning.sln | 60 +++++++++++++ 25 files changed, 512 insertions(+) create mode 100644 samples/unobtrusive/Core_10/Client/Client.csproj create mode 100644 samples/unobtrusive/Core_10/Client/CommandSender.cs create mode 100644 samples/unobtrusive/Core_10/Client/InputLoopService.cs create mode 100644 samples/unobtrusive/Core_10/Client/MyEventHandler.cs create mode 100644 samples/unobtrusive/Core_10/Client/Program.cs create mode 100644 samples/unobtrusive/Core_10/Client/ResponseHandler.cs create mode 100644 samples/unobtrusive/Core_10/ConventionExtensions.cs create mode 100644 samples/unobtrusive/Core_10/Server/CommandSender.cs create mode 100644 samples/unobtrusive/Core_10/Server/InputLoopService.cs create mode 100644 samples/unobtrusive/Core_10/Server/LargeMessageHandler.cs create mode 100644 samples/unobtrusive/Core_10/Server/MessageThatExpiresHandler.cs create mode 100644 samples/unobtrusive/Core_10/Server/MyCommandHandler.cs create mode 100644 samples/unobtrusive/Core_10/Server/Program.cs create mode 100644 samples/unobtrusive/Core_10/Server/RequestMessageHandler.cs create mode 100644 samples/unobtrusive/Core_10/Server/Server.csproj create mode 100644 samples/unobtrusive/Core_10/Shared/LargeMessage.cs create mode 100644 samples/unobtrusive/Core_10/Shared/MessageThatExpires.cs create mode 100644 samples/unobtrusive/Core_10/Shared/MyCommand.cs create mode 100644 samples/unobtrusive/Core_10/Shared/MyEvent.cs create mode 100644 samples/unobtrusive/Core_10/Shared/Request.cs create mode 100644 samples/unobtrusive/Core_10/Shared/Response.cs create mode 100644 samples/unobtrusive/Core_10/Shared/Shared.csproj create mode 100644 samples/unobtrusive/Core_10/Unobtrusive.sln create mode 100644 samples/unobtrusive/Core_10/prerelease.txt create mode 100644 samples/versioning/Core_10/Versioning.sln diff --git a/samples/unobtrusive/Core_10/Client/Client.csproj b/samples/unobtrusive/Core_10/Client/Client.csproj new file mode 100644 index 00000000000..14df8df95c7 --- /dev/null +++ b/samples/unobtrusive/Core_10/Client/Client.csproj @@ -0,0 +1,24 @@ + + + + net10.0 + preview + Exe + enable + enable + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/samples/unobtrusive/Core_10/Client/CommandSender.cs b/samples/unobtrusive/Core_10/Client/CommandSender.cs new file mode 100644 index 00000000000..0d3971aee86 --- /dev/null +++ b/samples/unobtrusive/Core_10/Client/CommandSender.cs @@ -0,0 +1,86 @@ +using Commands; +using Messages; + +public class CommandSender +{ + public static async Task Start(IMessageSession messageSession) + { + Console.WriteLine("Press 'C' to send a command"); + Console.WriteLine("Press 'R' to send a request"); + Console.WriteLine("Press 'D' to send a large message that is marked to be sent using data bus"); + Console.WriteLine("Press 'X' to send a message that is marked with expiration time."); + Console.WriteLine("Press any other key to exit"); + + while (true) + { + var key = Console.ReadKey(); + Console.WriteLine(); + + switch (key.Key) + { + case ConsoleKey.C: + await SendCommand(messageSession); + continue; + case ConsoleKey.R: + await SendRequest(messageSession); + continue; + case ConsoleKey.D: + await Data(messageSession); + continue; + case ConsoleKey.X: + await Expiration(messageSession); + continue; + } + return; + + } + } + + // Shut down server before sending this message, after 30 seconds, the message will be moved to Transactional dead-letter messages queue. + static Task Expiration(IMessageSession messageSession) + { + var messageThatExpires = new MessageThatExpires + { + RequestId = Guid.NewGuid() + }; + Console.WriteLine("message with expiration was sent"); + return messageSession.Send("Samples.Unobtrusive.Server", messageThatExpires); + } + + static Task Data(IMessageSession messageSession) + { + var requestId = Guid.NewGuid(); + + var largeMessage = new LargeMessage + { + RequestId = requestId, + LargeDataBus = new byte[1024 * 1024 * 5] + }; + Console.WriteLine($"Request sent id: {requestId}"); + return messageSession.Send("Samples.Unobtrusive.Server", largeMessage); + } + + static Task SendRequest(IMessageSession messageSession) + { + var requestId = Guid.NewGuid(); + + var request = new Request + { + RequestId = requestId + }; + Console.WriteLine($"Request sent id: {requestId}"); + return messageSession.Send("Samples.Unobtrusive.Server", request); + } + + static Task SendCommand(IMessageSession messageSession) + { + var commandId = Guid.NewGuid(); + + var myCommand = new MyCommand + { + CommandId = commandId, + }; + Console.WriteLine($"Command sent id: {commandId}"); + return messageSession.Send("Samples.Unobtrusive.Server", myCommand); + } +} \ No newline at end of file diff --git a/samples/unobtrusive/Core_10/Client/InputLoopService.cs b/samples/unobtrusive/Core_10/Client/InputLoopService.cs new file mode 100644 index 00000000000..e4b98fae8e9 --- /dev/null +++ b/samples/unobtrusive/Core_10/Client/InputLoopService.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Microsoft.Extensions.Hosting; +using NServiceBus.Routing; + +namespace Client +{ + public class InputLoopService(IMessageSession messageSession) : BackgroundService + { + protected override async Task ExecuteAsync(CancellationToken stoppingToken) + { + await CommandSender.Start(messageSession); + + } + } +} diff --git a/samples/unobtrusive/Core_10/Client/MyEventHandler.cs b/samples/unobtrusive/Core_10/Client/MyEventHandler.cs new file mode 100644 index 00000000000..ac8afec0e54 --- /dev/null +++ b/samples/unobtrusive/Core_10/Client/MyEventHandler.cs @@ -0,0 +1,11 @@ +using Events; +using Microsoft.Extensions.Logging; + +public class MyEventHandler(ILogger logger) : IHandleMessages +{ + public Task Handle(MyEvent message, IMessageHandlerContext context) + { + logger.LogInformation("MyEvent received from server with id:{EventId}", message.EventId); + return Task.CompletedTask; + } +} \ No newline at end of file diff --git a/samples/unobtrusive/Core_10/Client/Program.cs b/samples/unobtrusive/Core_10/Client/Program.cs new file mode 100644 index 00000000000..8a5c0b225d1 --- /dev/null +++ b/samples/unobtrusive/Core_10/Client/Program.cs @@ -0,0 +1,20 @@ +using Client; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Hosting; + +Console.Title = "Client"; +var builder = Host.CreateApplicationBuilder(args); +builder.Services.AddHostedService(); +var endpointConfiguration = new EndpointConfiguration("Samples.Unobtrusive.Client"); +endpointConfiguration.UseSerialization(); +endpointConfiguration.UseTransport(new LearningTransport()); +#pragma warning disable CS0618 // Type or member is obsolete +var dataBus = endpointConfiguration.UseDataBus(); +dataBus.BasePath(@"..\..\..\..\DataBusShare\"); +#pragma warning restore CS0618 // Type or member is obsolete + +endpointConfiguration.ApplyCustomConventions(); + +builder.UseNServiceBus(endpointConfiguration); + +await builder.Build().RunAsync(); \ No newline at end of file diff --git a/samples/unobtrusive/Core_10/Client/ResponseHandler.cs b/samples/unobtrusive/Core_10/Client/ResponseHandler.cs new file mode 100644 index 00000000000..fda742d912d --- /dev/null +++ b/samples/unobtrusive/Core_10/Client/ResponseHandler.cs @@ -0,0 +1,11 @@ +using Messages; +using Microsoft.Extensions.Logging; + +public class ResponseHandler(ILogger logger) : IHandleMessages +{ + public Task Handle(Response message, IMessageHandlerContext context) + { + logger.LogInformation("Response received from server for request with id:{ResponseId}", message.ResponseId); + return Task.CompletedTask; + } +} \ No newline at end of file diff --git a/samples/unobtrusive/Core_10/ConventionExtensions.cs b/samples/unobtrusive/Core_10/ConventionExtensions.cs new file mode 100644 index 00000000000..1967efdb1b4 --- /dev/null +++ b/samples/unobtrusive/Core_10/ConventionExtensions.cs @@ -0,0 +1,38 @@ +public static class ConventionExtensions +{ + #region CustomConvention + + public static void ApplyCustomConventions(this EndpointConfiguration endpointConfiguration) + { + var conventions = endpointConfiguration.Conventions(); + + conventions.DefiningCommandsAs( + type => + type.Namespace != null && + type.Namespace.EndsWith("Commands")); + + conventions.DefiningEventsAs( + type => + type.Namespace != null && + type.Namespace.EndsWith("Events")); + + conventions.DefiningMessagesAs( + type => type.Namespace == "Messages"); +#pragma warning disable CS0618 // Type or member is obsolete + conventions.DefiningDataBusPropertiesAs( + property => property.Name.EndsWith("DataBus")); +#pragma warning restore CS0618 // Type or member is obsolete + + conventions.DefiningTimeToBeReceivedAs( + type => + { + if (type.Name.EndsWith("Expires")) + { + return TimeSpan.FromSeconds(30); + } + return TimeSpan.MaxValue; + }); + } + + #endregion +} \ No newline at end of file diff --git a/samples/unobtrusive/Core_10/Server/CommandSender.cs b/samples/unobtrusive/Core_10/Server/CommandSender.cs new file mode 100644 index 00000000000..faa62b6f4a4 --- /dev/null +++ b/samples/unobtrusive/Core_10/Server/CommandSender.cs @@ -0,0 +1,36 @@ +using Events; + +class CommandSender +{ + public static async Task Start(IMessageSession messageSession) + { + Console.WriteLine("Press 'E' to publish an event"); + Console.WriteLine("Press any other key to exit"); + + while (true) + { + var key = Console.ReadKey(); + Console.WriteLine(); + + switch (key.Key) + { + case ConsoleKey.E: + await PublishEvent(messageSession); + continue; + } + return; + } + } + + static Task PublishEvent(IMessageSession messageSession) + { + var eventId = Guid.NewGuid(); + + Console.WriteLine($"Event published, id: {eventId}"); + var myEvent = new MyEvent + { + EventId = eventId + }; + return messageSession.Publish(myEvent); + } +} \ No newline at end of file diff --git a/samples/unobtrusive/Core_10/Server/InputLoopService.cs b/samples/unobtrusive/Core_10/Server/InputLoopService.cs new file mode 100644 index 00000000000..0ce3dea9e94 --- /dev/null +++ b/samples/unobtrusive/Core_10/Server/InputLoopService.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Microsoft.Extensions.Hosting; + +namespace Server +{ + public class InputLoopService(IMessageSession messageSession) : BackgroundService + { + protected override async Task ExecuteAsync(CancellationToken stoppingToken) + { + await CommandSender.Start(messageSession); + } + } +} diff --git a/samples/unobtrusive/Core_10/Server/LargeMessageHandler.cs b/samples/unobtrusive/Core_10/Server/LargeMessageHandler.cs new file mode 100644 index 00000000000..eba77ce2413 --- /dev/null +++ b/samples/unobtrusive/Core_10/Server/LargeMessageHandler.cs @@ -0,0 +1,18 @@ +using Messages; +using Microsoft.Extensions.Logging; + +public class LargeMessageHandler(ILogger logger) : IHandleMessages +{ + public Task Handle(LargeMessage message, IMessageHandlerContext context) + { + if (message.LargeDataBus == null) + { + logger.LogInformation("Message [{MessageType}] received, id:{RequestId}", message.GetType(), message.RequestId); + } + else + { + logger.LogInformation("Message [{MessageType}] received, id:{RequestId} and payload {PayloadLength} bytes", message.GetType(), message.RequestId, message.LargeDataBus.Length); + } + return Task.CompletedTask; + } +} diff --git a/samples/unobtrusive/Core_10/Server/MessageThatExpiresHandler.cs b/samples/unobtrusive/Core_10/Server/MessageThatExpiresHandler.cs new file mode 100644 index 00000000000..1ae9e2bc11e --- /dev/null +++ b/samples/unobtrusive/Core_10/Server/MessageThatExpiresHandler.cs @@ -0,0 +1,12 @@ +using Messages; +using Microsoft.Extensions.Logging; + +public class MessageThatExpiresHandler(ILogger logger) : IHandleMessages +{ + + public Task Handle(MessageThatExpires message, IMessageHandlerContext context) + { + logger.LogInformation("Message [{MessageType}] received, id: [{RequestId}]", message.GetType(), message.RequestId); + return Task.CompletedTask; + } +} \ No newline at end of file diff --git a/samples/unobtrusive/Core_10/Server/MyCommandHandler.cs b/samples/unobtrusive/Core_10/Server/MyCommandHandler.cs new file mode 100644 index 00000000000..f9adf73e4f3 --- /dev/null +++ b/samples/unobtrusive/Core_10/Server/MyCommandHandler.cs @@ -0,0 +1,11 @@ +using Commands; +using Microsoft.Extensions.Logging; + +public class MyCommandHandler(ILogger logger) : IHandleMessages +{ + public Task Handle(MyCommand message, IMessageHandlerContext context) + { + logger.LogInformation("Command received, id:{CommandId}", message.CommandId); + return Task.CompletedTask; + } +} \ No newline at end of file diff --git a/samples/unobtrusive/Core_10/Server/Program.cs b/samples/unobtrusive/Core_10/Server/Program.cs new file mode 100644 index 00000000000..06ea8e86d66 --- /dev/null +++ b/samples/unobtrusive/Core_10/Server/Program.cs @@ -0,0 +1,21 @@ +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Hosting; +using Server; + +Console.Title = "Server"; +var builder = Host.CreateApplicationBuilder(args); +builder.Services.AddHostedService(); + +var endpointConfiguration = new EndpointConfiguration("Samples.Unobtrusive.Server"); +endpointConfiguration.UseSerialization(); +endpointConfiguration.UseTransport(new LearningTransport()); +#pragma warning disable CS0618 // Type or member is obsolete +endpointConfiguration.UseDataBus() + .BasePath(@"..\..\..\..\DataBusShare\"); +#pragma warning restore CS0618 // Type or member is obsolete + +endpointConfiguration.ApplyCustomConventions(); + +builder.UseNServiceBus(endpointConfiguration); + +await builder.Build().RunAsync(); diff --git a/samples/unobtrusive/Core_10/Server/RequestMessageHandler.cs b/samples/unobtrusive/Core_10/Server/RequestMessageHandler.cs new file mode 100644 index 00000000000..f9984928311 --- /dev/null +++ b/samples/unobtrusive/Core_10/Server/RequestMessageHandler.cs @@ -0,0 +1,15 @@ +using Messages; +using Microsoft.Extensions.Logging; +public class RequestMessageHandler(ILogger logger) : IHandleMessages +{ + public Task Handle(Request message, IMessageHandlerContext context) + { + logger.LogInformation("Request received with id:{RequestId}", message.RequestId); + + var response = new Response + { + ResponseId = message.RequestId + }; + return context.Reply(response); + } +} \ No newline at end of file diff --git a/samples/unobtrusive/Core_10/Server/Server.csproj b/samples/unobtrusive/Core_10/Server/Server.csproj new file mode 100644 index 00000000000..e8f718d6336 --- /dev/null +++ b/samples/unobtrusive/Core_10/Server/Server.csproj @@ -0,0 +1,24 @@ + + + + net10.0 + preview + Exe + enable + enable + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/samples/unobtrusive/Core_10/Shared/LargeMessage.cs b/samples/unobtrusive/Core_10/Shared/LargeMessage.cs new file mode 100644 index 00000000000..5d40788e982 --- /dev/null +++ b/samples/unobtrusive/Core_10/Shared/LargeMessage.cs @@ -0,0 +1,10 @@ +namespace Messages; + +using System; + +public class LargeMessage +{ + public Guid RequestId { get; set; } + + public byte[]? LargeDataBus { get; set; } +} diff --git a/samples/unobtrusive/Core_10/Shared/MessageThatExpires.cs b/samples/unobtrusive/Core_10/Shared/MessageThatExpires.cs new file mode 100644 index 00000000000..75d589a6583 --- /dev/null +++ b/samples/unobtrusive/Core_10/Shared/MessageThatExpires.cs @@ -0,0 +1,8 @@ +namespace Messages; + +using System; + +public class MessageThatExpires +{ + public Guid RequestId { get; set; } +} diff --git a/samples/unobtrusive/Core_10/Shared/MyCommand.cs b/samples/unobtrusive/Core_10/Shared/MyCommand.cs new file mode 100644 index 00000000000..ca9fdfd028f --- /dev/null +++ b/samples/unobtrusive/Core_10/Shared/MyCommand.cs @@ -0,0 +1,8 @@ +namespace Commands; + +using System; + +public class MyCommand +{ + public Guid CommandId { get; set; } +} diff --git a/samples/unobtrusive/Core_10/Shared/MyEvent.cs b/samples/unobtrusive/Core_10/Shared/MyEvent.cs new file mode 100644 index 00000000000..a34d1bdd8e2 --- /dev/null +++ b/samples/unobtrusive/Core_10/Shared/MyEvent.cs @@ -0,0 +1,8 @@ +namespace Events; + +using System; + +public class MyEvent +{ + public Guid EventId { get; set; } +} diff --git a/samples/unobtrusive/Core_10/Shared/Request.cs b/samples/unobtrusive/Core_10/Shared/Request.cs new file mode 100644 index 00000000000..4d57e5960cc --- /dev/null +++ b/samples/unobtrusive/Core_10/Shared/Request.cs @@ -0,0 +1,8 @@ +namespace Messages; + +using System; + +public class Request +{ + public Guid RequestId { get; set; } +} diff --git a/samples/unobtrusive/Core_10/Shared/Response.cs b/samples/unobtrusive/Core_10/Shared/Response.cs new file mode 100644 index 00000000000..e746c5e9f00 --- /dev/null +++ b/samples/unobtrusive/Core_10/Shared/Response.cs @@ -0,0 +1,8 @@ +namespace Messages; + +using System; + +public class Response +{ + public Guid ResponseId { get; set; } +} \ No newline at end of file diff --git a/samples/unobtrusive/Core_10/Shared/Shared.csproj b/samples/unobtrusive/Core_10/Shared/Shared.csproj new file mode 100644 index 00000000000..fb02879bdbf --- /dev/null +++ b/samples/unobtrusive/Core_10/Shared/Shared.csproj @@ -0,0 +1,10 @@ + + + + net10.0 + preview + enable + enable + + + \ No newline at end of file diff --git a/samples/unobtrusive/Core_10/Unobtrusive.sln b/samples/unobtrusive/Core_10/Unobtrusive.sln new file mode 100644 index 00000000000..a243791955e --- /dev/null +++ b/samples/unobtrusive/Core_10/Unobtrusive.sln @@ -0,0 +1,29 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29728.190 +MinimumVisualStudioVersion = 15.0.26730.12 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Client", "Client\Client.csproj", "{476D0A88-E281-4BC8-9617-93E53C1F9FE6}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Server", "Server\Server.csproj", "{75424F0A-458B-42DA-9DDD-600367893A93}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Shared", "Shared\Shared.csproj", "{DD0DC12D-D6DF-47C0-B75A-AEC351164196}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {476D0A88-E281-4BC8-9617-93E53C1F9FE6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {476D0A88-E281-4BC8-9617-93E53C1F9FE6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {75424F0A-458B-42DA-9DDD-600367893A93}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {75424F0A-458B-42DA-9DDD-600367893A93}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DD0DC12D-D6DF-47C0-B75A-AEC351164196}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DD0DC12D-D6DF-47C0-B75A-AEC351164196}.Debug|Any CPU.Build.0 = Debug|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {9FC8A922-FADC-447B-BA38-9F47C3FBB51C} + EndGlobalSection +EndGlobal diff --git a/samples/unobtrusive/Core_10/prerelease.txt b/samples/unobtrusive/Core_10/prerelease.txt new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/versioning/Core_10/Versioning.sln b/samples/versioning/Core_10/Versioning.sln new file mode 100644 index 00000000000..509cd7d99d7 --- /dev/null +++ b/samples/versioning/Core_10/Versioning.sln @@ -0,0 +1,60 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.8.34511.84 +MinimumVisualStudioVersion = 15.0.26730.12 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "V2.Subscriber", "V2.Subscriber\V2.Subscriber.csproj", "{BD68E573-6E04-4332-8CAD-28F70138147B}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Publisher", "Publisher\Publisher.csproj", "{8CC1879B-E612-4CC7-9D31-2E2C0A2DE71C}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "V1.Subscriber", "V1.Subscriber\V1.Subscriber.csproj", "{176A895F-77F8-4874-B21C-130596C36231}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Contracts", "V1.Contracts\Contracts.csproj", "{3FA7348D-59C7-4795-BE0D-0F08373ACC07}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "V2", "V2", "{97820740-52DF-4942-894D-CFB04AFA9AE9}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Contracts", "V2.Contracts\Contracts.csproj", "{E061B013-0118-4167-A508-C28EC114240E}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "V1", "V1", "{4D35CA52-4A3C-4730-8415-F381EE56FC0C}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Contracts", "Contracts", "{F5C2DC42-C4D7-4806-A00B-467ED6F017FD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {BD68E573-6E04-4332-8CAD-28F70138147B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BD68E573-6E04-4332-8CAD-28F70138147B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BD68E573-6E04-4332-8CAD-28F70138147B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BD68E573-6E04-4332-8CAD-28F70138147B}.Release|Any CPU.Build.0 = Release|Any CPU + {8CC1879B-E612-4CC7-9D31-2E2C0A2DE71C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8CC1879B-E612-4CC7-9D31-2E2C0A2DE71C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8CC1879B-E612-4CC7-9D31-2E2C0A2DE71C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8CC1879B-E612-4CC7-9D31-2E2C0A2DE71C}.Release|Any CPU.Build.0 = Release|Any CPU + {176A895F-77F8-4874-B21C-130596C36231}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {176A895F-77F8-4874-B21C-130596C36231}.Debug|Any CPU.Build.0 = Debug|Any CPU + {176A895F-77F8-4874-B21C-130596C36231}.Release|Any CPU.ActiveCfg = Release|Any CPU + {176A895F-77F8-4874-B21C-130596C36231}.Release|Any CPU.Build.0 = Release|Any CPU + {3FA7348D-59C7-4795-BE0D-0F08373ACC07}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3FA7348D-59C7-4795-BE0D-0F08373ACC07}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3FA7348D-59C7-4795-BE0D-0F08373ACC07}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3FA7348D-59C7-4795-BE0D-0F08373ACC07}.Release|Any CPU.Build.0 = Release|Any CPU + {E061B013-0118-4167-A508-C28EC114240E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E061B013-0118-4167-A508-C28EC114240E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E061B013-0118-4167-A508-C28EC114240E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E061B013-0118-4167-A508-C28EC114240E}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {3FA7348D-59C7-4795-BE0D-0F08373ACC07} = {4D35CA52-4A3C-4730-8415-F381EE56FC0C} + {97820740-52DF-4942-894D-CFB04AFA9AE9} = {F5C2DC42-C4D7-4806-A00B-467ED6F017FD} + {E061B013-0118-4167-A508-C28EC114240E} = {97820740-52DF-4942-894D-CFB04AFA9AE9} + {4D35CA52-4A3C-4730-8415-F381EE56FC0C} = {F5C2DC42-C4D7-4806-A00B-467ED6F017FD} + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {DC4E7547-2A6B-414A-9327-9648AF374274} + EndGlobalSection +EndGlobal From cc882529244a44daee37378c94eced0e5c2e9965 Mon Sep 17 00:00:00 2001 From: Irina Scurtu Date: Thu, 17 Jul 2025 16:10:26 +0300 Subject: [PATCH 2/2] Delete samples/versioning/Core_10/Versioning.sln --- samples/versioning/Core_10/Versioning.sln | 60 ----------------------- 1 file changed, 60 deletions(-) delete mode 100644 samples/versioning/Core_10/Versioning.sln diff --git a/samples/versioning/Core_10/Versioning.sln b/samples/versioning/Core_10/Versioning.sln deleted file mode 100644 index 509cd7d99d7..00000000000 --- a/samples/versioning/Core_10/Versioning.sln +++ /dev/null @@ -1,60 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.8.34511.84 -MinimumVisualStudioVersion = 15.0.26730.12 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "V2.Subscriber", "V2.Subscriber\V2.Subscriber.csproj", "{BD68E573-6E04-4332-8CAD-28F70138147B}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Publisher", "Publisher\Publisher.csproj", "{8CC1879B-E612-4CC7-9D31-2E2C0A2DE71C}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "V1.Subscriber", "V1.Subscriber\V1.Subscriber.csproj", "{176A895F-77F8-4874-B21C-130596C36231}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Contracts", "V1.Contracts\Contracts.csproj", "{3FA7348D-59C7-4795-BE0D-0F08373ACC07}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "V2", "V2", "{97820740-52DF-4942-894D-CFB04AFA9AE9}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Contracts", "V2.Contracts\Contracts.csproj", "{E061B013-0118-4167-A508-C28EC114240E}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "V1", "V1", "{4D35CA52-4A3C-4730-8415-F381EE56FC0C}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Contracts", "Contracts", "{F5C2DC42-C4D7-4806-A00B-467ED6F017FD}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {BD68E573-6E04-4332-8CAD-28F70138147B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BD68E573-6E04-4332-8CAD-28F70138147B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BD68E573-6E04-4332-8CAD-28F70138147B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BD68E573-6E04-4332-8CAD-28F70138147B}.Release|Any CPU.Build.0 = Release|Any CPU - {8CC1879B-E612-4CC7-9D31-2E2C0A2DE71C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8CC1879B-E612-4CC7-9D31-2E2C0A2DE71C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8CC1879B-E612-4CC7-9D31-2E2C0A2DE71C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8CC1879B-E612-4CC7-9D31-2E2C0A2DE71C}.Release|Any CPU.Build.0 = Release|Any CPU - {176A895F-77F8-4874-B21C-130596C36231}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {176A895F-77F8-4874-B21C-130596C36231}.Debug|Any CPU.Build.0 = Debug|Any CPU - {176A895F-77F8-4874-B21C-130596C36231}.Release|Any CPU.ActiveCfg = Release|Any CPU - {176A895F-77F8-4874-B21C-130596C36231}.Release|Any CPU.Build.0 = Release|Any CPU - {3FA7348D-59C7-4795-BE0D-0F08373ACC07}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3FA7348D-59C7-4795-BE0D-0F08373ACC07}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3FA7348D-59C7-4795-BE0D-0F08373ACC07}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3FA7348D-59C7-4795-BE0D-0F08373ACC07}.Release|Any CPU.Build.0 = Release|Any CPU - {E061B013-0118-4167-A508-C28EC114240E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E061B013-0118-4167-A508-C28EC114240E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E061B013-0118-4167-A508-C28EC114240E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E061B013-0118-4167-A508-C28EC114240E}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {3FA7348D-59C7-4795-BE0D-0F08373ACC07} = {4D35CA52-4A3C-4730-8415-F381EE56FC0C} - {97820740-52DF-4942-894D-CFB04AFA9AE9} = {F5C2DC42-C4D7-4806-A00B-467ED6F017FD} - {E061B013-0118-4167-A508-C28EC114240E} = {97820740-52DF-4942-894D-CFB04AFA9AE9} - {4D35CA52-4A3C-4730-8415-F381EE56FC0C} = {F5C2DC42-C4D7-4806-A00B-467ED6F017FD} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {DC4E7547-2A6B-414A-9327-9648AF374274} - EndGlobalSection -EndGlobal