WebHostDefaults 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
包含一组表示配置键的常量。
public ref class WebHostDefaults abstract sealed
public static class WebHostDefaults
type WebHostDefaults = class
Public Class WebHostDefaults
- 继承
-
WebHostDefaults
字段
| ApplicationKey |
与应用程序名称关联的配置键。 |
| CaptureStartupErrorsKey |
与“captureStartupErrors”配置关联的配置键。 |
| ContentRootKey |
与“ContentRoot”配置关联的配置键。 |
| DetailedErrorsKey |
与“DetailedErrors”配置关联的配置键。 |
| EnvironmentKey |
与应用程序的环境设置关联的配置键。 |
| HostingStartupAssembliesKey |
与“hostingStartupAssemblies”配置关联的配置密钥。 |
| HostingStartupExcludeAssembliesKey |
与“hostingStartupExcludeAssemblies”配置关联的配置密钥。 |
| HttpPortsKey |
与“http_ports”配置关联的配置键。 |
| HttpsPortsKey |
与“https_ports”配置关联的配置密钥。 |
| PreferHostingUrlsKey |
与“PreferHostingUrls”配置关联的配置键。 |
| PreventHostingStartupKey |
与“PreventHostingStartup”配置关联的配置密钥。 |
| ServerUrlsKey |
与“urls”配置关联的配置密钥。 |
| ShutdownTimeoutKey |
与“ShutdownTimeoutSeconds”配置关联的配置键。 |
| StartupAssemblyKey |
与启动程序集关联的配置键。 |
| StaticWebAssetsKey |
与“StaticWebAssets”配置关联的配置键。 |
| SuppressStatusMessagesKey |
与“SuppressStatusMessages”配置关联的配置键。 |
| WebRootKey |
与“webRoot”配置关联的配置键。 |