In .NET Framework, custom attributes are user defined attributes which enable providing metadata for application elements such as assemblies, classes and methods.
I have been looking around for a non Parameter injection option for the WebApi attributes. My question is simply whether …
asp.net-web-api dependency-injection structuremap custom-attributes structuremap3My goal is to create a custom attribute like System.ComponentModel.DataAnnotations.Display which allows me to pass a parameter. …
c# asp.net-mvc custom-attributesI am looking for a way to show/hide WebAPI routes in the Swagger documentation using SwashBuckle in a configurable …
c# asp.net-web-api swagger custom-attributes swashbuckleI am using Knockout-JS to bind properties in my view to my view model. Knockout-JS uses a custom attribute called …
asp.net-mvc-3 razor custom-attributesIn other words could it be possible to create assembly, which does not even compile (assuming the checking code is …
c# custom-attributesIf I apply attributes to a partial class via the MetadataType attribute, those attributes are not found via Attribute.IsDefined(). …
c# linq-to-sql attributes metadata custom-attributesWe are using Ajax call across the application- trying to find out a global solution to redirect to login page …
asp.net-mvc custom-attributes ajax-request expired-sessionsI want to put [FirstTime] attribute above a controller function and then create a FirstTimeAttribute that has some logic that …
c# asp.net-mvc-4 custom-attributesI am delving into custom validation attributes and am curious to know how others structure the projects. Where do you …
asp.net-mvc-3 custom-attributesWhats the best approach for getting the attribute values from a classes methods and from the interface methods when the …
c# reflection custom-attributes