VS File Templates - New/Expanded
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- csharp
调研方向
首先查看 issue 中链接的 core/workers 示例,然后将它们与 Visual Studio 2022 的 Worker Service 模板以及链接的 scoped service 文档进行比较。定义模板选项并编写用户测试,以确定哪些示例已通过验证且不存在 issue;在约定的模板覆盖范围和测试完成后,这项工作即告完成。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- C#
- 星标
- 3.7k
- 派生
- 5.1k
- 平均合并
- 19 小时 47 分钟
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dotnet/samples 的其他 Issue
-
dotnet-target-version
难度 2/5 1-3 小时 新手友好度 77/100
-
dotnet-target-version
难度 2/5 1-3 小时 新手友好度 76/100
-
dotnet-target-version
难度 2/5 1-3 小时 新手友好度 78/100
-
Race condition in orleans/ShoppingCart/Grains/InventoryGrain.cs#L48可能已有人在做 @TimonPasslick 于 160 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
-
dotnet-target-version
难度 2/5 1-3 小时 新手友好度 72/100
相似的 Issue
-
Audit by ear: boss warnings, other not-enough messages, ailments and barriers in a chapter 1 battle未关闭enhancement needs-game ready-for-agent
难度 2/5 1-3 小时 新手友好度 72/100
Sour-Dev-Home/metaphor-accessibility#1273 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
joinrpg/joinrpg-net#6336 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
muxinc/mux-csharp#88 ·
-
In-car displays show 0 km/h and P while the AV drives可能已有人在做 @bazilinskyy 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 66/100
bazilinskyy/coupled-sim#366 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 3 天内回复