Skip to content
Pebellslearn by building

The course

ASP.NET Core

Learn the C# and .NET groundwork, then build ReadingRoom, a small library API, with ASP.NET Core. You will map endpoints, shape the request pipeline, wire up services and settings, and store data with SQL and Entity Framework Core.

Ready to learn

Your path through the ideas

Inside the course

7 modules · 24 lessons
CLI tools & setup · Start here

Install your tools, choose your setup and verify a local run.

02C# and .NET Basics4 lessons

Meet C#, the typed language you write ASP.NET Core in, and .NET, the runtime and libraries it runs on. Then drive the whole toolchain from the dotnet command and keep the code tidy with analyzer rules.

  1. 01C# — The Language You Write14 min
  2. 02.NET — The Platform Underneath12 min
  3. 03The .NET CLI — One Command for Everything12 min
  4. 04StyleCop Rules — Code Style the Build Enforces12 min
03General Development Skills3 lessons

Track ReadingRoom's history with Git, share it through a hosting platform with pull requests, and understand the HTTP requests and responses that ASP.NET Core spends its whole life handling.

  1. 01Git — Snapshots You Can Return To13 min
  2. 02GitHub, GitLab and Bitbucket — Sharing the Repository12 min
  3. 03HTTP and HTTPS — The Conversation Your API Has14 min
04ASP.NET Core Basics: Endpoints4 lessons

Design ReadingRoom's URLs the REST way, then build them as Minimal APIs and as MVC controllers. Finish with Razor Pages and Razor Components, the two ways ASP.NET Core renders HTML.

  1. 01REST — Nouns in the URL, Verbs in the Method13 min
  2. 02Minimal APIs — An Endpoint in One Line15 min
  3. 03MVC — Controllers, Actions and Views15 min
  4. 04Razor Pages and Razor Components — Rendering HTML15 min
05ASP.NET Core Basics: Pipeline, Services and Settings4 lessons

Follow a request through ReadingRoom's middleware pipeline, hook into controller actions with filters and attributes, hand out services through dependency injection with the right lifetime, and read settings that change per environment.

  1. 01Middleware — The Request Pipeline15 min
  2. 02Filters and Attributes — Hooks Around an Action15 min
  3. 03Dependency Injection and Service Lifetimes16 min
  4. 04App Settings and Configuration15 min
06Database Fundamentals4 lessons

Query ReadingRoom's books, members and loans with SQL, design tables that do not repeat themselves, let constraints guard the data, and see where stored procedures and triggers fit in a .NET app.

  1. 01SQL Basics — Asking the Database14 min
  2. 02Database Design Basics — One Fact, One Place14 min
  3. 03Constraints — Rules the Database Enforces13 min
  4. 04Stored Procedures and Triggers — Code Inside the Database14 min
07Object Relational Mapping5 lessons

Map ReadingRoom's tables to C# objects. Start with Dapper's hand-written SQL, then let Entity Framework Core write it for you: build the schema with migrations, save changes through the change tracker, and load related data on purpose.

  1. 01ORMs and Dapper — Rows In, Objects Out14 min
  2. 02Entity Framework Core — LINQ Becomes SQL15 min
  3. 03Code First and Migrations — The Schema Follows Your Classes14 min
  4. 04The Change Tracker — How EF Knows What to Save14 min
  5. 05Lazy, Eager and Explicit Loading15 min
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.