Skip to content

Ctor service injection#31927

Merged
guardrex merged 4 commits intomainfrom
guardrex/blazor-constructor-injection
Feb 29, 2024
Merged

Ctor service injection#31927
guardrex merged 4 commits intomainfrom
guardrex/blazor-constructor-injection

Conversation

@guardrex
Copy link
Copy Markdown
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

Comment thread aspnetcore/blazor/fundamentals/dependency-injection.md Outdated
Co-authored-by: Daniel Roth <daroth@microsoft.com>
@danroth27
Copy link
Copy Markdown
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 👍

Comment thread aspnetcore/blazor/fundamentals/dependency-injection.md Outdated
Comment thread aspnetcore/blazor/fundamentals/dependency-injection.md Outdated
Comment thread aspnetcore/blazor/fundamentals/dependency-injection.md Outdated
Comment thread aspnetcore/blazor/fundamentals/dependency-injection.md Outdated
@guardrex
Copy link
Copy Markdown
Collaborator Author

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

@guardrex
Copy link
Copy Markdown
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
@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