.NET REST API Essentials
Start your journey into C# Backend Development, step-by-step.
Before you start...
Course introduction
What you are going to build
What this course covers
Is this course for you?
Software prerequisites
Source code and other resources
Introduction
Introduction to ASP.NET Core
Development environment setup
Creating a Web project
Exploring the Web project
Building a Web project
Running and debugging a Web project
Knowledge check
Introduction
What is a REST API?
Interacting with REST APIs
Using the REST Client extension
Using Data Transfer Objects (DTOs)
Implementing a GET ALL endpoint
Implementing a GET BY ID endpoint
Knowledge check
Introduction
Implementing a POST endpoint
Implementing a PUT endpoint
Implementing a DELETE endpoint
Dealing with un-existing resources
Using extension methods
Using route groups
Adding server-side validation
Knowledge check
Introduction
Introduction to Entity Framework Core
Defining entities
Creating a DBContext
Understanding ASP.NET Core configuration
Using ASP.NET Core configuration
Generating database migrations
Applying a database migration
Migrating the DB when the app starts
Knowledge check
Introduction
Seeding data
Understanding dependency injection
Understanding service lifetimes
Understanding the DbContext registration
Adding new entities to the database
Mapping DTOs to entities (and vice versa)
Querying single entities from the database
Updating entities in the database
Querying all entities from the database
Deleting entities from the database
Knowledge check