• Updated:

.NET Index

Introduction to .NET
Visual Studio (shortcuts & debug)

Meta

C# coding style
Code documentation in c#

config

Launchsettings vs appsettings
User secrets

.NET with AI

Integrate .NET with AI

C# language

“basics”

this is a list of c# features good to know for someone like me, coming from a Java background

Introduction to c#
c# methods
Nullables
c# classes
Partial classes
Deconstruction
Class vs struct vs record (reference types vs value types)
Expression bodied members
Pattern matching
Generics

collections, lists and lambdas

c# collections (lists, tuples…)
c# collections’ index and range operators
Linq examples
Anonymous methods & lambda expressions
Delegates

advanced

Middleware
Anonymous type objects
Events (pub/sub)

TAP programming (async / await)

Parallel code
Async programming
Async best practices
Async with parallelism
Async with lambdas

C# 12

Collection expressions
Primary constructors
Lambda’s default values

C# 11

Raw string literals

APIs

Basic health checks
How to get headers
Caching (IMemoryCache)
Validations
Newtonsoft
Dependency injection (& scope types)
Dependency injections with multiple implementations

(ORM) Entity Framework Core

Teoria EF Core
EF Core Scaffolding
EF Core Global Filters
Read-only statements performance improvement
Data models
EF Core multithreading

Razor Pages

Basic usage
Prevent Overposting

Unit Testing

Setup testing (XUnit & test nuggets)
XUnit usage (Data tags & IClassFixture)
XUnit code examples

Testing frameworks

FluentAssertions (test async exceptions & examples)
Moq (It.isAny & mock multiple calls)
AutoFixture (AutoData & AutoMoq)

NUnit (legacy; use XUnit for new projects)

NUnit test examples for c#