Skip to content
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

New templates for endpoint, handler, and saga #365

Merged
merged 18 commits into from Jun 1, 2023
Merged

New templates for endpoint, handler, and saga #365

merged 18 commits into from Jun 1, 2023

Conversation

DavidBoike
Copy link
Member

@DavidBoike DavidBoike commented May 25, 2023

This updates coalesces the NServiceBusDockerContainer and NServiceBusWindowsService into a single nsbendpoint template that can generate an NServiceBus endpoint with a choice of transport, persistence, and hosting model (Console App, Windows Service, or Docker container).

Now that Visual Studio supports dotnet new templates, the template can be selected from the Visual Studio New Project dialog, and the options for transport, persistence, and hosting model can be selected from dropdown menus.

Additionally, item templates for an NServiceBus Handler (nsbhandler) and an NServiceBus Saga (nsbsaga) have been added. These encompass the boilerplate code for a handler or saga, detailed with comments containing links to documentation.

See the dotnet new templates documentation for more.

Copy link
Member

@ramonsmits ramonsmits left a comment

Choose a reason for hiding this comment

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

Suggestions for the drop down list values.

Copy link
Member

@andreasohlund andreasohlund left a comment

Choose a reason for hiding this comment

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

Side note: All those approval file really make it cumbersome to make and review changes :(

DavidBoike and others added 2 commits May 31, 2023 08:25
Co-authored-by: Ramon Smits <ramon.smits@gmail.com>
@DavidBoike DavidBoike changed the title Combine all templates into one with options New templates for endpoint, handler, and saga Jun 1, 2023
@DavidBoike DavidBoike marked this pull request as ready for review June 1, 2023 20:03
@DavidBoike DavidBoike merged commit c0a7aea into master Jun 1, 2023
2 checks passed
@DavidBoike DavidBoike deleted the converged branch June 1, 2023 20:03
@DavidBoike DavidBoike added this to the 5.0.0 milestone Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants