Share via


SharedOptions Class

Definition

Options common to several middleware components

public ref class SharedOptions
public class SharedOptions
type SharedOptions = class
Public Class SharedOptions
Inheritance
SharedOptions

Constructors

SharedOptions()

Defaults to all request paths.

Properties

FileProvider

The file system used to locate resources

RedirectToAppendTrailingSlash

Indicates whether to redirect to add a trailing slash at the end of path. Relative resource links may require this.

RequestPath

The request path that maps to static resources

Applies to