Action Filters Attributes are a part of the ASP .NET Framework that I find useful to help follow the DRY principle. You can replace several lines of common logic with one simple declarative tag. The framework provides several useful Action Filter Attributes by default, such as the Authorize and Handle Error Attributes. This guide is intended to show you how to create your own custom attribute.