Building Web APIs with ASP.NET Core in .NET
2h 15mIntermediate2022-03-11
Authors

Christian Wenz
Web Pioneer, Technology Specialist, Entrepreneur
Course details
Web APIs drive the most popular web and mobile apps, as well as internet-enabled devices ranging from fridges to phones. Curious about how to build a web API of your own? In this course, instructor Christian Wenz shows you how to get started, taking you step by step through the process of building a web API with ASP.NET Core 6, the open-source framework for Windows, macOS, and Linux. Christian explains how routing works and how data is modeled in ASP.NET Core. He provides coverage of Entity Framework Core to help you grasp how data models in your projects connect to underlying databases, explains HTTP verbs like CRUD operations, and more.
Skills covered
ASP.NET Core.NETAPIsBack-End Web DevelopmentFull-Stack Web DevelopmentFront-End Web DevelopmentProjectWeb DevelopmentMicrosoftSoftware Development
Concepts
0. Introduction
- 01 - Building web APIs
- 02 - Why an API
- 03 - What you should know
1. Getting Started
- 04 - Prerequisites and setup
- 05 - Hello World, API style
- 06 - Hello World with Visual Studio Code
- 07 - Minimal APIs
- 08 - HTTP in a nutshell
- 09 - REST basics
- 10 - API design basics
- 11 - Tools for API testing
2. Retrieving Data
- 12 - Controllers and actions
- 13 - Routing basics
- 14 - Creating a data model
- 15 - Using Entity Framework Core
- 16 - Returning a list of items
- 17 - Using ActionResult
- 18 - Returning an item
- 19 - Handling errors
- 20 - Making the API asynchronous
3. Writing Data
- 21 - HTTP methods
- 22 - Model binding
- 23 - Adding an item with POST
- 24 - Model validation
- 25 - Updating an item with PUT
- 26 - Deleting an item with DELETE
- 27 - Challenge - Deleting several items
- 28 - Solution - Deleting several items
Conclusion
- 29 - Next steps
Related courses
Related learn paths
- Getting Started as an ASP.NET Core Developer
- Getting Started as an ASP.NET Developer
- Prepare for the MTA: Software Development Fundamentals Exam (98-361)
- Explore Web Development with Node.js
- Explore App Development with the MERN Stack
- Become a Back-End Web Developer
- Become a MEAN Javascript Developer
- Advance your ASP.NET Developer skills