• DenySpiderAttribute

Contents

DenySpiderAttribute

Namespace: SharedPluginFeatures

Assembly: SharedPluginFeatures

The deny spider attribute is used on Controller Action methods to indicate that a spider should not use that particular route.

Constructors

#ctor Default constructor, indicates that all user agents are denied.
#ctor(String) Constructor
#ctor(String,String) Constructor

Properties

UserAgent The user agent that is to be denied access to the route.
Comment Optional comment that will appear in the robots.txt file.

In This Document