Pebellslearn by building
RoadmapsMatrixCoursesSandboxSign in

Course details

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 learn6 sections · 24 lessons
Start learning

Course curriculum

C# 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. C# — The Language You Write14 min
  2. .NET — The Platform Underneath12 min
  3. The .NET CLI — One Command for Everything12 min
  4. StyleCop Rules — Code Style the Build Enforces12 min
General 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. Git — Snapshots You Can Return To13 min
  2. GitHub, GitLab and Bitbucket — Sharing the Repository12 min
  3. HTTP and HTTPS — The Conversation Your API Has14 min
ASP.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. REST — Nouns in the URL, Verbs in the Method13 min
  2. Minimal APIs — An Endpoint in One Line15 min
  3. MVC — Controllers, Actions and Views15 min
  4. Razor Pages and Razor Components — Rendering HTML15 min
ASP.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. Middleware — The Request Pipeline15 min
  2. Filters and Attributes — Hooks Around an Action15 min
  3. Dependency Injection and Service Lifetimes16 min
  4. App Settings and Configuration15 min
Database 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. SQL Basics — Asking the Database14 min
  2. Database Design Basics — One Fact, One Place14 min
  3. Constraints — Rules the Database Enforces13 min
  4. Stored Procedures and Triggers — Code Inside the Database14 min
Object 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. ORMs and Dapper — Rows In, Objects Out14 min
  2. Entity Framework Core — LINQ Becomes SQL15 min
  3. Code First and Migrations — The Schema Follows Your Classes14 min
  4. The Change Tracker — How EF Knows What to Save14 min
  5. Lazy, Eager and Explicit Loading15 min