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

Ctor service injection #31927

Merged
merged 4 commits into from
Feb 29, 2024
Merged

Ctor service injection #31927

merged 4 commits into from
Feb 29, 2024

Conversation

guardrex
Copy link
Collaborator

@guardrex guardrex commented Feb 28, 2024

Fixes #31926
Addresses #31909

❓ I'm not quite on the preview bits to test yet ... but I will be soon. Per the primary ctor guidance, primary ctors seem like they'll be OK here. Are they πŸ‘ or πŸ‘Ž for this?


Internal previews

πŸ“„ File πŸ”— Preview link
aspnetcore/blazor/fundamentals/dependency-injection.md ASP.NET Core Blazor dependency injection

@danroth27
Copy link
Member

❓ I'm not quite on the preview bits to test yet ... but I will be soon. Per the primary ctor guidance, primary ctors seem like they'll be OK here. Are they πŸ‘ or πŸ‘Ž for this?

Primary ctors work fine πŸ‘

@guardrex
Copy link
Collaborator Author

@danroth27 ... Your suggestion condensed all of this coverage nicely.

@guardrex
Copy link
Collaborator Author

guardrex commented Feb 29, 2024

@danroth27 ... I need to merge this to unblock other work. Now that the example components are removed from the sample apps, the build system flakes out on any other branch that I try to build.

Let me know what else you see here for a fix ... and @javiercn and @mkArtakMSFT as well ... I'll patch it up.

The What's New content is next after #31918 is merged, and I'll ping u offline when that's live with the link.

@guardrex guardrex merged commit 6db683e into main Feb 29, 2024
3 checks passed
@guardrex guardrex deleted the guardrex/blazor-constructor-injection branch February 29, 2024 12:57
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.

Blazor ctor service injection
2 participants