Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Building Web APIs with ASP.NET Core in .NET 6

via LinkedIn Learning

Overview

Discover how to build robust web APIs with ASP.NET Core, the open-source framework for Windows, macOS, and Linux.

Syllabus

Introduction
  • Building web APIs
  • Why an API?
  • What you should know
1. Getting Started
  • Prerequisites and setup
  • "Hello World," API style
  • "Hello World" with Visual Studio Code
  • Minimal APIs
  • HTTP in a nutshell
  • REST basics
  • API design basics
  • Tools for API testing
2. Retrieving Data
  • Controllers and actions
  • Routing basics
  • Creating a data model
  • Using Entity Framework Core
  • Returning a list of items
  • Using ActionResult
  • Returning an item
  • Handling errors
  • Making the API asynchronous
3. Writing Data
  • HTTP methods
  • Model binding
  • Adding an item with POST
  • Model validation
  • Updating an item with PUT
  • Deleting an item with DELETE
  • Challenge: Deleting several items
  • Solution: Deleting several items
Conclusion
  • Next steps

Taught by

Christian Wenz

Reviews

4.7 rating at LinkedIn Learning based on 184 ratings

Start your review of Building Web APIs with ASP.NET Core in .NET 6

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.