From 4d38d19e4fc710c6be2ebf4b3cfa0ae932c6efc6 Mon Sep 17 00:00:00 2001 From: roadmap bot <135830415+roadmap-bot@users.noreply.github.com> Date: Tue, 20 Jun 2023 15:16:05 +0100 Subject: [PATCH] chore: add resource under aspnet-core:basics-of-aspnet-core:filters-and-attributes --- .../103-basics-of-aspnet-core/105-filters-and-attributes.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/data/roadmaps/aspnet-core/content/103-basics-of-aspnet-core/105-filters-and-attributes.md b/src/data/roadmaps/aspnet-core/content/103-basics-of-aspnet-core/105-filters-and-attributes.md index 137dee745..e3d7d9c2d 100644 --- a/src/data/roadmaps/aspnet-core/content/103-basics-of-aspnet-core/105-filters-and-attributes.md +++ b/src/data/roadmaps/aspnet-core/content/103-basics-of-aspnet-core/105-filters-and-attributes.md @@ -5,3 +5,5 @@ In the ASP.NET Core framework, filters and attributes are used to add additional - **Filters** are classes that implement one or more of the filter interfaces provided by the framework, such as `IActionFilter`, `IResultFilter`, `IExceptionFilter`, and `IAuthorizationFilter`. Filters can be applied to controllers, action methods, or globally to the entire application. They can be used to perform tasks such as logging, caching, and handling exceptions. - **Attributes** are classes that derive from `Attribute` class, and are used to decorate controllers, action methods, or properties with additional metadata. For example, the Authorize attribute can be used to require that a user is authenticated before accessing a specific action method, and the `ValidateAntiForgeryToken` attribute can be used to protect against cross-site request forgery (CSRF) attacks. + +- [Filters](https://learn.microsoft.com/en-us/aspnet/core/mvc/controllers/filters?view=aspnetcore-7.0) \ No newline at end of file