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

.NET 6 Migration #97

Open
U-C-S opened this issue Nov 30, 2021 · 4 comments
Open

.NET 6 Migration #97

U-C-S opened this issue Nov 30, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request question Further information is requested refactor refactoring code

Comments

@U-C-S
Copy link
Contributor

U-C-S commented Nov 30, 2021

Discussion and Tracking Issue to migrate to .NET 6 (from .NET 5)

Important Links

@U-C-S U-C-S added enhancement New feature or request question Further information is requested refactor refactoring code labels Nov 30, 2021
@pobiega
Copy link
Collaborator

pobiega commented Nov 30, 2021

Great initiative.

I suggest that as part of this story, we also...

  1. Switch to file-scoped namespaces, to reduce indentation.
  2. Activate implicit usings, to reduce repeat using statements.
  3. Do not swap to top level statements in Program.cs.
  4. Do not swap to minimal APIs.

If anyone disagrees with any of these points, please comment below.

@valincius
Copy link
Member

Do we want to enable nullable reference types? Will make a bit more work but net6 projects have this enabled by default, so I think we should do it.

@pobiega
Copy link
Collaborator

pobiega commented Nov 30, 2021

enable nullable reference types?

I'm fine with it, but I suggest we do it as a separate PR, as the file scope namespaces will make the diff near unreadable :)

@Palisar
Copy link
Contributor

Palisar commented Nov 30, 2021

How do we feel about having each project have a Usings.cs that contains all of our global usings ?

@henry-js henry-js self-assigned this Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested refactor refactoring code
Projects
None yet
Development

No branches or pull requests

5 participants