Episode

Endpoint filters for .NET APIs (Part 6 of 8) | Backend Web Development with .NET for Beginners

with Safia Abdalla

This video covers implementing common behavior for endpoints using endpoint filters. What if we want to execute common functionality on every request sent to a given endpoint in our application? That's where endpoint filters come in. Endpoint filters follow some of the same concepts that middlewares do. But, they're different because they have unique context on the endpoint associated with our request. One common scenario for endpoint filters is input validation.

Chapters

  • 00:00 - Intro
  • 02:09 - Add endpoint filter to validate input sent to Post Todos
  • 07:36 - Run the application to test the filters
  • 09:12 - Outro

Developer
.NET