5 posts about Custom Attribute by 4 contributors.
Know Custom Attribute? Share what you know with developers who are learning it.
Custom authentication filters in ASP.NET Core 6 allow you to implement personalized authentication logic. You can create custom attributes, middleware, or policy-based authorization to manage user access based on roles, claims, or tokens.
This guide explains how to control session state behavior in ASP.NET MVC using the SessionState attribute and a custom ActionSessionStateAttribute. While the SessionState attribute applies to an entire controller, the custom attribute allows for different session behaviors per action method.
In this article we will learn about attributes in C#. Attributes are used to associate some important instruction or information regarding methods, properties or types.
In this article, I illustrate the power of attributed programming by examples that show a modular approach to issues that can crosscut many classes. Attributes will provide exciting software development abstractions in the future.
An attribute is a new code level language construct in all major .NET languages. It provides integration of declarative information to assemblies, classes, interfaces, members, etc. at the code level. The information can then be used to change the runtime behavior or collect organizational information. In this article, I illustrate the power of attributed programming by examples that show a modular approach to issues that can crosscut many classes.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article