-
Notifications
You must be signed in to change notification settings - Fork 299
Consolidate web samples #7894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consolidate web samples #7894
Conversation
…t tags from the code
…tion of in endpoint configuration
There was a problem hiding this 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.
|
@copilot open a new pull request to apply changes based on the comments in this thread |
|
@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
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
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.