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

ASP.NET Core project templates use latest C# language idioms #33947

Closed
5 tasks done
Tracked by #3359
DamianEdwards opened this issue Jun 29, 2021 · 2 comments
Closed
5 tasks done
Tracked by #3359

ASP.NET Core project templates use latest C# language idioms #33947

DamianEdwards opened this issue Jun 29, 2021 · 2 comments
Assignees
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates feature-templates User Story A single user-facing feature. Can be grouped under an epic.
Milestone

Comments

@DamianEdwards
Copy link
Member

DamianEdwards commented Jun 29, 2021

In .NET 6, the included C# project templates will use the latest language idioms.

See the parent Epic for details.

Related:

@DamianEdwards DamianEdwards added area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates User Story A single user-facing feature. Can be grouped under an epic. feature-templates labels Jun 29, 2021
@DamianEdwards DamianEdwards added this to the Next sprint planning milestone Jun 29, 2021
@DamianEdwards DamianEdwards self-assigned this Jun 29, 2021
@ghost
Copy link

ghost commented Jun 29, 2021

Thanks for contacting us.

We're moving this issue to the Next sprint planning milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s).
If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.
To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.

DamianEdwards added a commit that referenced this issue Jul 1, 2021
DamianEdwards added a commit that referenced this issue Jul 7, 2021
- Use top-level statements
- Use minimal hosting APIs
- #33947 #33944
DamianEdwards added a commit that referenced this issue Jul 8, 2021
* Update templates baseline for recent changes
* Add using alias to fix type name conflict in templates that were missed in the previous set of changes.
* Update SPA templates
  - Use top-level statements
  - Use minimal hosting APIs
  - #33947 #33944
* Fix nullable issue in Blazor Server template
DamianEdwards added a commit that referenced this issue Jul 15, 2021
* Update templates to use file-scoped namespace declarations
* Move to SDK version that supports file-scoped namespaces
* Make CA1305 a suggestion rather than error
  - New compiler now makes this appear when using a StringBuilder with string interpolation. Logged #34361 to follow up.

Contributes to #33947
@DamianEdwards
Copy link
Member Author

Any further work/bugs can be tracked in new issues as this is done now.

@ghost ghost locked as resolved and limited conversation to collaborators Aug 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates feature-templates User Story A single user-facing feature. Can be grouped under an epic.
Projects
None yet
Development

No branches or pull requests

1 participant