Building ASP.NET Core Minimal APIs
This course will teach you how to build a web API with ASP.NET Core’s minimal API approach.
What you'll learn
It seems like every company has a set of APIs now, but what if there isn't an API for your specific need? In this course, Building ASP.NET Core Minimal APIs, you’ll learn to build a web API with ASP.NET Core’s minimal web API approach. First, you’ll explore what this approach means, how to implement basic CRUD functionality, and how to structure your minimal API. Next, you’ll discover how to handle exceptions & logging, and how to implement reusable business logic with endpoint filters. Finally, you’ll learn how to secure and document your minimal web API. When you’re finished with this course, you’ll have the skills and knowledge of ASP.NET Core minimal APIs needed to build a full-featured web API with the minimal web API approach.
Table of contents
- Coming Up 1m
- Dependency Injection in Minimal APIs 4m
- Demo: Dependency Injection in Minimal APIs 2m
- Learning About Routing 4m
- Demo: Working with Routing Templates 6m
- Why You Shouldn’t Expose the Entity Model 3m
- Demo: Adding the DTO Model and Using AutoMapper 9m
- Parameter Binding 3m
- Demo: Parameter Binding 4m
- Modelling Common API Functionality 4m
- Status Codes and Creating Responses 7m
- Demo: Creating Correct API Responses 6m
- Summary 2m
- Coming Up 1m
- Handling Exceptions in Minimal APIs 3m
- Demo: Using the Developer Exception Page Middleware 2m
- Demo: Using the Exception Handler Middleware 4m
- Improving Error Responses with Problem Details 2m
- Demo: Improving Error Responses with Problem Details 2m
- Logging in Minimal APIs 1m
- Demo: Logging in Minimal APIs 2m
- Summary 2m
- Coming Up 1m
- A Few Words on Swagger / OpenAPI 4m
- Demo: Adding Support for OpenAPI with Swashbuckle 4m
- Demo: Adding Descriptions and Summaries 3m
- Demo: Describing Response Types and Status Codes 4m
- Demo: Describing Request Types 2m
- Demo: Gaining Full OpenApiOperation Control 2m
- Describing API Security in Swagger 4m
- Summary 1m