Skip to content

Conversation

cquirosj
Copy link
Contributor

@cquirosj cquirosj commented Jul 18, 2025

  • Upgraded from .NET 9/8 multi-targeting to .NET 10 (net10.0)
  • Updated LangVersion from 12.0 to preview to support latest C# features
  • NServiceBus: 9.* → 10.0.0-alpha.1
  • NServiceBus.MessagingBridge: 3.* → 4.0.0-alpha.1
  • NServiceBus.Extensions.Hosting: 3.0.1 → 4.0.0-alpha.1
  • Microsoft.Extensions.Hosting: 8.* → 10.0.0-preview.5.25277.114
  • Microsoft.Extensions.Logging.Console: 9.0.2 → 10.0.0-preview.5.25277.114
  • Added 'required' modifier to message properties for better null safety
  • Added prerelease.txt file to mark this as a prerelease sample
  • Updated all project files to use single target framework (net10.0)
  • test
  • Fixes: Update Sample: bridge/simple #7278

cquirosj added 2 commits July 18, 2025 00:17
Fixes: #7278

This commit updates the bridge simple sample from NServiceBus 9 to NServiceBus 10, including:

**Framework Updates:**
- Upgraded from .NET 9/8 multi-targeting to .NET 10 (net10.0)
- Updated LangVersion from 12.0 to preview to support latest C# features

**Package Updates:**
- NServiceBus: 9.* → 10.0.0-alpha.1
- NServiceBus.MessagingBridge: 3.* → 4.0.0-alpha.1
- NServiceBus.Extensions.Hosting: 3.0.1 → 4.0.0-alpha.1
- Microsoft.Extensions.Hosting: 8.* → 10.0.0-preview.5.25277.114
- Microsoft.Extensions.Logging.Console: 9.0.2 → 10.0.0-preview.5.25277.114

**Modern C# Features Applied:**
- Added 'required' modifier to message properties for better null safety
- Maintained existing modern patterns (var usage, Host builder pattern)

**Project Structure:**
- Added prerelease.txt file to mark this as a prerelease sample
- Updated all project files to use single target framework (net10.0)
- Preserved existing architecture and functionality

**Testing:**
- Sample builds successfully on .NET 10 preview
- All endpoints (Bridge, LeftSender, LeftReceiver, RightReceiver) compile without errors
- Message routing and bridge configuration remain unchanged
@cquirosj cquirosj self-assigned this Jul 18, 2025
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Pull request has had no activity for 30 days. label Aug 17, 2025
@github-actions github-actions bot closed this Aug 25, 2025
@cquirosj cquirosj reopened this Aug 25, 2025
@github-actions github-actions bot removed the stale Pull request has had no activity for 30 days. label Aug 26, 2025
@cquirosj cquirosj marked this pull request as ready for review August 30, 2025 00:24
@cquirosj cquirosj merged commit d926247 into master Aug 30, 2025
7 checks passed
@cquirosj cquirosj deleted the cq/update-bridge-simple-nservicebus10 branch August 30, 2025 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Sample: bridge/simple
1 participant