Summary
Keywords
Full Transcript
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
