Add Nexus DI sample#186
Merged
Merged
Conversation
jmaeagle99
approved these changes
Jul 20, 2026
jmaeagle99
left a comment
Contributor
There was a problem hiding this comment.
Small feedback but overall looks good.
| [NexusService] | ||
| public interface IGreetingService | ||
| { | ||
| static readonly string EndpointName = "my-nexus-endpoint"; |
Contributor
There was a problem hiding this comment.
Maybe value it as nexus-dependency-injection-endpoint, similar to how the other Nexus examples use the sample name in the endpoint.
|
|
||
| ```bash | ||
| temporal operator nexus endpoint create \ | ||
| --name my-nexus-endpoint \ |
Contributor
There was a problem hiding this comment.
Whatever you choose to do in https://github.com/temporalio/samples-dotnet/pull/186/changes#r3618052390, please replicate to here.
| 2. Create a Nexus endpoint that targets the handler namespace and the worker's task queue. See the | ||
| Temporal Cloud instructions at https://docs.temporal.io/nexus/registry#create-a-nexus-endpoint. | ||
| Use: | ||
| - Endpoint name: `my-nexus-endpoint` |
Contributor
There was a problem hiding this comment.
Quinn-With-Two-Ns
force-pushed
the
nexus-di-samples
branch
from
July 21, 2026 21:46
e2076bc to
d9667c6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was changed
Add Nexus DI sample
Why?
Make it clear how to use DI with Nexus
Checklist
Closes [Sample Request] Nexus hosted worker #118
How was this tested: