Skip to content

[.net11] Use the new webworker template instead of samples#36871

Merged
ilonatommy merged 2 commits intomainfrom
webworker-template-net11
Mar 13, 2026
Merged

[.net11] Use the new webworker template instead of samples#36871
ilonatommy merged 2 commits intomainfrom
webworker-template-net11

Conversation

@ilonatommy
Copy link
Member

@ilonatommy ilonatommy commented Mar 13, 2026

In dotnet/aspnetcore#65037 we introduced webworker library that contains a simple, out-of-the box support for any existing client app that needs heavy work done without connecting to the server. We used to have pretty long docs with samples and they are still valid but from .net11 using the template is a faster and easier equivalent.

As usually, this PR is just a proposal, either close it and make your own one or push here.


Internal previews

📄 File 🔗 Preview link
aspnetcore/blazor/blazor-with-dotnet-on-web-workers.md aspnetcore/blazor/blazor-with-dotnet-on-web-workers
aspnetcore/client-side/dotnet-on-webworkers.md aspnetcore/client-side/dotnet-on-webworkers

@guardrex
Copy link
Collaborator

guardrex commented Mar 13, 2026

Thanks @ilonatommy ... Points of clarification for the updates that I just made ...

  • Is it ok that I took "my" off the named objects/projects? I've generally avoided it over the years for localization reasons ... it seems like it's just this extra word added to things without much benefit. I imagine that some folks who are learning English or don't understand English well struggle with understanding why it's on objects/projects. Therefore, I've been avoiding it for the most part in the Blazor node.
  • Per some general coding convention discussions ages ago ... discussions that took place like seven or more years ago ... is it ok if we avoid underscore prefixes on private fields? It was decided back then that they're more helpful/useful in framework code than in Razor component code. The doc set generally avoids them. I changed _worker to worker if that's ok with you.

Other changes I made are just super NITs.

@ilonatommy ilonatommy merged commit b9daff6 into main Mar 13, 2026
4 checks passed
@ilonatommy ilonatommy deleted the webworker-template-net11 branch March 13, 2026 16:40
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.

2 participants