.NET
The cross-platform runtime and tooling.
.NET is taught here in 14 lessons, running from .NET SDK and project files through to Diagnostics and observability in production. Each lesson takes one topic, shows the working code, and links onward to the next, so the course can be read straight through in order.
| Track | .NET |
| Lessons | 14 |
| Level | Beginner to intermediate |
| Reading time | about 3 hours |
| Prerequisites | None beyond being able to open a text editor |
Lessons
- .NET SDK and project filesWhat the SDK actually installs, how an SDK-style project file describes a build, and how to pin a repository to one SDK version.
- The dotnet CLI workflowSolution and project scaffolding, package management, and the build, test, watch and format loop you actually live in.
- Publishing and deploymentFramework-dependent versus self-contained output, containerising a service, and the trimming and AOT trade-offs you must measure.
- What .NET is: runtime, libraries and support policyThe CLR, the base class library and the release cadence, plus how to choose between .NET and .NET Framework for a service that has to live for years.
- Project types, target frameworks and multi-targetingChoosing the right project type and the right target framework is the cheapest architectural decision you will make, and the hardest to undo.
- NuGet and dependency managementVersion ranges, transitive dependencies, central package management and a restore you can reproduce on any machine.
- Dependency injection and the generic hostLifetimes decide correctness, not just performance: a captured scoped service inside a singleton is a real bug that only shows up in production.
- Configuration, options and loggingThe configuration stack layers, the options pattern with validation, and structured logging that is worth reading when something breaks.
- Asynchronous programming with async and awaitAsync is not about threads, it is about not blocking one. The failure modes are all about blocking, fire-and-forget and lost cancellation.
- JSON serialisation with System.Text.JsonThe built-in serialiser is fast and allocation-light, and source generation removes its startup cost and its reflection dependency.
- Testing .NET codexUnit setup, fixtures, the assertions that describe intent, and choosing what to mock so the tests stay useful.
- Writing and publishing NuGet librariesPackage metadata, symbol packages, semantic versioning and how to validate a package before anyone depends on it.
- Performance: allocation, Span and benchmarkingMeasure first, then reduce allocations on the hot path with Span and pooling rather than rewriting code on intuition.
- Diagnostics and observability in productionCounters, traces and dumps answer different questions. Knowing which tool fits a symptom is most of production debugging.
More in .NET
ASP.NET Core LINQ WinForms WPF
FAQ
How long does the .NET course take?
It has 14 lessons, about 3 hours of reading. Expect roughly twice that if you type out and run every example.
Do I need prior experience for .NET?
No. This is the first course in .NET, so it starts from the beginning and assumes no background.
What should I read after .NET?
Continue with ASP.NET Core (14 lessons), the next course in .NET.