What you’ll learn
Understand what RESTful API is
Plan a RESTful API
Understand HTTP Methods such as GET, PUT, POST, and DELETE
Build a professional-grade RESTful API using ASPNet Core
Ensure data hiding
Perform input validation
Ensure proper error handling
Handle API versioning
Document a RESTful API with Swagger
Test a RESTful API with Swagger and Postman
Build a RESTful API Client using HttpClient
Test a RESTful API Client using MSTest
Ensure proper error handling for a RESTful API Client
Beginner knowledge of C# (Intermediate knowledge will be helpful)
Experience working with Visual Studio
Experience with ASPNet MVC or ASPNet Core
Hello fellow dotNet Developers! Welcome to this course about creating and consuming RESTful APIs.
RESTful APIs are an important way in which applications expose functionality to the other applications. Being able to build your own professional API for other companies to consume, or to build your own professional API client to consume other companies’ APIs is an important and marketable skill.
In the first part of this course, we will learn what a RESTful API is and design one to manage Course and Student data.
In the next part of this course, we will build and thoroughly test this RESTful API. We will go beyond the basics to ensure that the API is of high quality so that other developers can reliably call it. We do this by ensuring proper error handling, boundary condition handling, thorough testing, and documentation generation. Along the way we will use ASPNet Core to create the RESTful API, Swagger to view the fully documented API, and Postman to test it.
In the final part of this course, we will write a professional and robust API client to consume our RESTful Courses API. As before, we will go beyond the basics to ensure it can be easily and reliably be incorporated into any dotNet application. We do this by ensuring proper error handling, boundary condition handling, and thorough testing. Along the way we will use HttpClient to build our API Client using solid object-oriented programming principles and we will Unit test it using Test-Driven Development with MSTest.
Who this course is for:
- C# Developers
- .Net Developers
- ASPNet Developers
- ASPNet Core Developers
- Web developers
- Front-end developers
- Application Developers
- Third party service integrators