-
Notifications
You must be signed in to change notification settings - Fork 25.3k
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
Update Background tasks article for 3.0 (Generic Host) #12841
Comments
Confirm and enable worker service content for VS4Mac ...
|
@davidfowl @anurse The hosted service topic has separate 2.x samples: Web Host and Generic Host. ❓ Would you like the 3.x updates to include a 3.x Web Host sample, or should I drop that sample and only have a 3.x Generic Host sample going forward? ... and a follow-up is that since the Generic Host is a bit different from 2.x days, should we even keep that example in the 2.x version of the topic? The 2.x version really only relies on the Web Host sample app for its code and explanations. |
I think we should drop the Web Host sample from 3.x. It's deprecated. |
What about the (somewhat crappy) Generic Host version for 2.x. That's probably not such a good thing to have. It isn't tied into the topic. It was just a show 'n tell from the early Generic Host days. Shall I kill that thing off? Nevermind ... rubber 🦆 says to slay 🔪 that beast 👹! |
@anurse I have a version of the sample app running. Would you plz take a look and help me with a few questions/concerns? I put it up here 👉 https://github.com/guardrex/BackgroundTasks30 I based that on the Worker Service template.
|
For # 5, I believe the issue is that the |
@manigandham Ah, yes ... I see what you mean. Thanks. |
I think it's probably better for
For
My comments above aren't really functional, so it makes sense that it would work. It looks correct from a runtime perspective, just a touch odd in the way the BackgroundService lifetimes are done.
Sounds like a VS Code issue to be honest, if the real shell works. I don't have any specific thoughts. |
Thanks @anurse ... I'll react to your feedback. |
Migrate sample app to 3.0 (Generic Host) and put snippets in 2.2 vs. 3.0 moniker blocks
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: