Skip to content

Commit 675d403

Browse files
guidelines
1 parent a184f7d commit 675d403

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

guidelines.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ Prefer using modern APIs, e.g.
99
* Minimal APIs instead of controllers
1010
* C# records if possible and useful instead of classes and structs
1111
* Primary records when possible
12-
* Use *nullable reference types*, *file-scoped
12+
* collection expressions
13+
* Use *nullable reference types*, *file-scoped namespaces*, *global usings*, *top-level statements* and other modern C# features
14+
*
1315

1416
## Released versions
1517

16-
Use released versions (e.g. .NET 6) to make it easier using the applications and services from all developers.
18+
Use released versions (e.g. .NET 9) to make it easier using the applications and services from all developers.
1719

1820
> An exception from this rule can be applied if a pre-release version is not too far away, it's not expected the pre-release version adds many required changes on the code, and offers many advantages on the implementation (e.g. .NET 7 with Minimal APIs). If needed, a long-time branch can be used to use pre-release versions where this exception does not apply.
1921

0 commit comments

Comments
 (0)