API Endpoint Filters in .NET [Pt 6] | Beginner Back-end

Learn how to implement endpoint filters in .NET APIs. Perfect for beginners exploring back-end development with .NET. ๐Ÿš€

API Endpoint Filters in .NET [Pt 6] | Beginner Back-end
dotnet
22.6K views โ€ข Feb 1, 2024
API Endpoint Filters in .NET [Pt 6] | Beginner Back-end

About this video

View full playlist: https://aka.ms/dotnet/beginnervideos/youtube/webapi
Get Started with .NET in VS Code: https://aka.ms/dotnet/get-started/vscode

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.

For an explanation of ASP.NET Core and .NET, check out the first video in this series: https://youtu.be/OmUuR4GiwIE

Resources:
Follow along: https://aka.ms/dotnet/beginnervideos/repo
Filters in Minimal API apps: https://learn.microsoft.com/aspnet/core/fundamentals/minimal-apis/min-api-filters?view=aspnetcore-8.0

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

Connect with .NET:
Blog: https://aka.ms/dotnet/blog
Twitter: https://aka.ms/dotnet/twitter
TikTok: https://aka.ms/dotnet/tiktok
Mastodon: https://aka.ms/dotnet/mastodon
LinkedIn: https://aka.ms/dotnet/linkedin
Facebook: https://aka.ms/dotnet/facebook
Docs: https://learn.microsoft.com/dotnet
Forums: https://aka.ms/dotnet/forums
๐Ÿ™‹โ€โ™€๏ธQ&A: https://aka.ms/dotnet-qa
๐Ÿ‘จโ€๐ŸŽ“Microsoft Learn: https://aka.ms/learndotnet

#dotnet #webapi #aspnetcore #visualstudio #visualstudiocode #vscode

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

22.6K

Likes

342

Duration

9:59

Published

Feb 1, 2024

User Reviews

4.6
(4)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.

Trending Now