Building Web APIs with ASP.NET Core

Building Web APIs with ASP.NET Core

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 3h 42m | 765 MB

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, taking you step by step through the process of building a web API with ASP.NET Core 3.1, 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. Plus, he covers essential topics such as API versioning, CRUD operations, securing your API, and more.

Table of Contents

1 APIs today
2 Why an API
3 What you should know
4 Prerequisites and setup
5 Hello World, API style
6 Hello World with Visual Studio Code
7 HTTP in a nutshell
8 REST basics
9 API design basics
10 Tools for API testing
11 Controllers and actions
12 Routing basics
13 Creating a data model
14 Using Entity Framework Core
15 Returning a list of items
16 Using IActionResult
17 Returning an item
18 Handling errors
19 Making the API asynchronous
20 Introduction
21 Paginating items
22 Filtering items
23 Searching items
24 Sorting items
25 HTTP verbs
26 ASP.NET model binding
27 Model validation
28 Adding an item with POST
29 Updating an item with PUT
30 Deleting an item with DELETE
31 Versioning options
32 The Microsoft versioning library
33 Implement URL versioning
34 Implementing header versioning
35 Implementer query string versioning
36 Documenting the API
37 Enforcing HTTPS
38 Consuming the API with JavaScript
39 Cross-Origin Resource Sharing (CORS)
40 Enabling CORS
41 OAuth and OpenID Connect
42 Setting up IdentityServer
43 Securing the API with IdentityServer
44 Consuming the protected API
45 Next steps