Stage 1 · Lesson 2 of 10
The dotnet CLI and NuGet
Everything in modern .NET starts from the CLI, a command-line tool that works on every operating system, so learn it on day one. dotnet new console creates a project, and dotnet run builds and runs it. dotnet test runs your tests.
dotnet add package pulls in a library from NuGet, the .NET package store. The .csproj file declares which .NET version you target and which packages you use. A solution file groups related projects, such as an and its test project. Learn to read build errors in the terminal, not only in an IDE.
Common trapfollowing old .NET Framework tutorials built around Windows-only tooling; modern .NET runs on Linux, macOS and Windows and deploys comfortably in .
A question to check yourself, an AI practice session and 1 cheat sheet entry come with the full roadmap. Unlock
Resources for this stage
Start with
- GuideFreeLearn C#
Microsoft · Beginner
Official C# tutorials from the language basics through classes, LINQ and async
Practise
Keep handy
Also worth your time
The DNS, TCP, TLS and HTTP steps behind every request your backend will handle