Class HostNameFilterOptions
Provides configuration settings for filtering requests based on hostname values.
This class represents the options used by HostNameFilteringMiddleware to determine
which hostnames are allowed to access the application.
Inheritance
HostNameFilterOptions
Assembly: Coree.NETASP.dll
Syntax
public class HostNameFilterOptions
Properties
|
Edit this page
View Source
Blacklist
Declaration
public string[]? Blacklist { get; set; }
Property Value
|
Edit this page
View Source
ContinueOnDisallowed
Declaration
public bool ContinueOnDisallowed { get; set; }
Property Value
|
Edit this page
View Source
DisallowedFailureRating
Declaration
public int DisallowedFailureRating { get; set; }
Property Value
|
Edit this page
View Source
DisallowedStatusCode
Declaration
public int DisallowedStatusCode { get; set; }
Property Value
|
Edit this page
View Source
Whitelist
Gets or sets an array of hostnames that are allowed to access the application.
Declaration
public string[]? Whitelist { get; set; }
Property Value
Type |
Description |
string[] |
An array of strings, each representing a hostname in the whitelist.
|