StaticAssetDescriptor Class

Definition

The description of a static asset that was generated during the build process.

public sealed class StaticAssetDescriptor
type StaticAssetDescriptor = class
Public NotInheritable Class StaticAssetDescriptor
Inheritance
StaticAssetDescriptor

Constructors

Name Description
StaticAssetDescriptor()

Properties

Name Description
AssetPath

The path to the asset file from the wwwroot folder.

Order

The order of the endpoint in the routing table. When null or empty, the default order of -100 is used.

Properties

A list of properties that are associated with the endpoint.

ResponseHeaders

A list of headers to apply to the response when this resource is served.

Route

The route that the asset is served from.

Selectors

A list of selectors that are used to discriminate between two or more assets with the same route.

Applies to