Learning new dotnet and csharp features
There are some that we have researched and decided to use here.
You can see them in the links below.
- Nullable Usage: How we use nullable.
- Primary Constructors: How we use primary constructors.
- Other: Other
C#
language features we use
- Analyzers: How we use
Stylecop.Analyzers
. - Central Package Manager: How we manage packages from the center. exceptions.
- Regex Source Generators: How we use regex source generators.
- Source Generator: Our process and purpose of learning the source generator.
- Unit Testing: Our documentation on how we write unit tests, the rules, naming conventions and libraries we use.
- Authentication: How we setup and use authentication.
- Dependency Injection: How we setup and use dependency injection.
- Exception Handling: How we manage exceptions.
There are some that we have researched to use here, but as a result of the research, we have decided not to use them or to use them later.
You can see them in the links below.
- Publish Over Dockerfile: We've
considered using
dotnet publish
overDockerfile
. For now we've decided to keep usingDockerfile
.
- Model Binders: How to map custom types to action parameters to allow entities directly from action parameters
- Native AOT: We are considering using
Native AOT
for our small and minimal API and CLI applications. For now, we are not using Native AOT because it is new and does not satisfy many of our needs.