Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Robust REST APIs and Clients in C#, ASP.NET Core, HttpClient
Rating: 4.4 out of 5(78 ratings)
1,569 students

Robust REST APIs and Clients in C#, ASP.NET Core, HttpClient

How to create professional REST APIs and REST API Clients in C# using ASP.NET Core and HttpClient
Created byNathan LaFratta
Last updated 12/2022
English

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

Course content

6 sections52 lectures2h 37m total length
  • Introduction1:31

    Learn to design, code, document, and test robust restful APIs in C# with ASP.NET Core, using postman and FTP client to consume third party services, with validation and error handling.

  • Course Content0:39

Requirements

  • Beginner knowledge of C# (Intermediate knowledge will be helpful)
  • Experience working with Visual Studio
  • Experience with ASPNet MVC or ASPNet Core

Description

Hello fellow .NET 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 ASP.NET 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 .NET 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.

Happy learning!

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