Building Web APIs with ASP.NET Core 8
2h 37mIntermediate2024-04-09
Authors

Christian Wenz
Web Pioneer, Technology Specialist, Entrepreneur
Course details
Modern web applications provide much of their functionality in an API. In this course, Christian Wenz—a web pioneer, technology specialist, and entrepreneur—shows you how to design and implement such an API using ASP.NET Core 8. Get started with minimal APIs and the basics of HTTP, REST, and API design. Learn how to retrieve and write data, and practice what you learn with hands-on challenges.
Skills covered
ASP.NET Core.NETAPIsBack-End Web DevelopmentFull-Stack Web DevelopmentFront-End Web DevelopmentWeb DevelopmentMicrosoftSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Web APIs with ASP.NET Core 8
- 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
- 21 - Working with minimal APIs
- 22 - Challenge - Searching items
- 23 - Solution - Searching items
3. Writing Data
- 24 - HTTP methods
- 25 - Model binding
- 26 - Adding an item with POST
- 27 - Model validation
- 28 - Updating an item with PUT
- 29 - Deleting an item with DELETE
- 30 - Migrating the code to Minimal APIs
- 31 - Challenge - Deleting several items
- 32 - Solution - Deleting several items
Conclusion
- 33 - Next steps
Related courses
- Advanced Web APIs with ASP.NET Core 8
- Building Web APIs with ASP.NET Core in .NET
- Learning ASP.NET Core MVC
- Building and Securing RESTful APIs in ASP.NET Core
- ASP.NET Core: Building a GraphQL API
- Building Web APIs with ASP.NET Web API 2.2
- Advanced ASP.NET Web API 2.2
- Building Angular and ASP.NET Web API Apps
Related learn paths
- Getting Started as an ASP.NET Core Developer
- Getting Started as an ASP.NET Developer
- Become a Back-End Web Developer
- Become a MEAN Javascript Developer
- Prepare for the MTA: Software Development Fundamentals Exam (98-361)
- Explore Web Development with Node.js
- Explore App Development with the MERN Stack
- Advance your ASP.NET Developer skills