Skip to content

Conversation

@ngallegos
Copy link
Contributor

@ngallegos ngallegos commented Nov 5, 2025

Result of

All of the web samples did the same thing, but were inconsistent. This aims to consolidate them into one sample that shows how to send a message from a web application, regardless of framework.

@ngallegos ngallegos self-assigned this Nov 5, 2025
@ngallegos ngallegos requested a review from Copilot November 19, 2025 21:26
Copilot finished reviewing on behalf of ngallegos November 19, 2025 21:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR consolidates multiple web sample projects (asp-web-application, asp-mvc-application, send-from-aspnetcore-webapi, and blazor-server-application) into a single comprehensive sample that demonstrates sending messages from ASP.NET web applications using various frameworks.

Key Changes:

  • Consolidated four separate samples into one unified sample at samples/web/asp-web-application
  • Added support for MVC, Web API, Razor Pages, and Blazor in a single project
  • Removed dependency on NServiceBus.Callbacks package (simplified to one-way messaging)
  • Updated documentation to reflect the consolidated approach

Reviewed Changes

Copilot reviewed 187 out of 199 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
samples/web/asp-web-application/sample.md Updated documentation to describe the consolidated sample with all frameworks
samples/web/asp-web-application/Core_/WebApp/ New consolidated web application with examples for all ASP.NET frameworks
samples/web/asp-web-application/Core_/Server/ Simplified message handler that logs received messages
samples/web/send-from-aspnetcore-webapi/* Removed - functionality consolidated into main sample
samples/web/asp-mvc-application/* Removed - functionality consolidated into main sample
samples/web/blazor-server-application/* Removed - functionality consolidated into main sample
nservicebus/upgrades/5to6/* Updated cross-references to point to consolidated sample
nservicebus/hosting/service-fabric-hosting/* Updated cross-references to point to consolidated sample

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ngallegos
Copy link
Contributor Author

@copilot open a new pull request to apply changes based on the comments in this thread

Copy link
Contributor

Copilot AI commented Nov 19, 2025

@ngallegos I've opened a new pull request, #7906, to work on those changes. Once the pull request is ready, I'll request review from you.

* Initial plan

* Fix grammar and formatting issues in sample.md

Co-authored-by: ngallegos <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: ngallegos <[email protected]>
@boblangley boblangley merged commit 7707fb2 into master Dec 4, 2025
4 checks passed
@boblangley boblangley deleted the consolidate-web-samples branch December 4, 2025 21:45
Copy link
Member

@boblangley boblangley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

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.

3 participants