dotnet / dotnet/aspnetcore

Incorrect casing for shortname in two item templates

Open
#33,093 3 comments 0 reactions 0 assignees View on GitHub
area-mvc bug feature-templates
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

The protobuf and Razor Component item templates have the wrong casing for `shortName`, it's listed as `shortname`.

- https://github.com/dotnet/aspnetcore/blob/52eff90fbcfca39b7eb58baad597df6a99a542b0/src/ProjectTemplates/Web.ItemTemplates/content/Protobuf/.template.config/template.json#L18
- https://github.com/dotnet/aspnetcore/blob/52eff90fbcfca39b7eb58baad597df6a99a542b0/src/ProjectTemplates/Web.ItemTemplates/content/RazorComponent/.template.config/template.json#L18

As far as I know this isn't causing any issues with any tooling, so this is a low priorioty bug. I'm happy to send a PR, but I need to know

Contributor guide

Open the contributing guide

Research direction

Start with the two linked template.json files under Web.ItemTemplates: the Protobuf and RazorComponent templates. Compare the metadata entries around line 18, correct the casing of shortname to shortName in both files, and confirm that both templates now use the intended property name.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.