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

VS File Templates - New/Expanded #6976

Open
ericwood8 opened this issue Jul 9, 2024 · 0 comments
Open

VS File Templates - New/Expanded #6976

ericwood8 opened this issue Jul 9, 2024 · 0 comments

Comments

@ericwood8
Copy link

ericwood8 commented Jul 9, 2024

Enchancement - VS File Templates - New/Expanded - It would be nice if the file template user interface found in Visual Studio generate the code contained within here that is "the best", validated and issue free. Currently there seems to be a big disconnect from the VS team and these code samples. (You would need to write some user tests to confirm the best of these samples. I understand that some of these are user submitted or demo focused, but there is good work here.)

For example, I need a scoped background service at the moment. The "Worker Service" template by File > New > Project > "Worker Service" does not do anything as extensive as the options found here: https://github.com/dotnet/samples/tree/main/core/workers . The "Worker Service" template fails to: 1) have a "scoped services" checkbox like it should, 2) offer a dropdown of types of worker services (such as queue service, windows service, and this "standard" worker service).
Maybe there is a single consolidated service: cloud-service, signal completion service, timer service, and worker service. (I am thinking that the "scoped services" might be a checkbox because I could see that apply to multiple times of services.).

I am using the latest version of VS 2022.

For my specific example, you can also find code at:
https://learn.microsoft.com/en-us/dotnet/core/extensions/scoped-service?pivots=dotnet-6-0

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

No branches or pull requests

1 participant