WebHostOptions Class¶
- Namespace
Microsoft.AspNetCore.Hosting.Internal- Assemblies
- Microsoft.AspNetCore.Hosting
Constructors¶
-
WebHostOptions()¶ public WebHostOptions()
-
WebHostOptions(Microsoft.Extensions.Configuration.IConfiguration) public WebHostOptions(IConfiguration configuration)
-
Properties¶
-
Microsoft.AspNetCore.Hosting.Internal.WebHostOptions.ApplicationName¶ Return type: System.String public string ApplicationName { get; set; }
-
Microsoft.AspNetCore.Hosting.Internal.WebHostOptions.CaptureStartupErrors¶ Return type: System.Boolean public bool CaptureStartupErrors { get; set; }
-
Microsoft.AspNetCore.Hosting.Internal.WebHostOptions.ContentRootPath¶ Return type: System.String public string ContentRootPath { get; set; }
-
Microsoft.AspNetCore.Hosting.Internal.WebHostOptions.DetailedErrors¶ Return type: System.Boolean public bool DetailedErrors { get; set; }
-
Microsoft.AspNetCore.Hosting.Internal.WebHostOptions.Environment¶ Return type: System.String public string Environment { get; set; }
-
Microsoft.AspNetCore.Hosting.Internal.WebHostOptions.StartupAssembly¶ Return type: System.String public string StartupAssembly { get; set; }
-
Microsoft.AspNetCore.Hosting.Internal.WebHostOptions.WebRoot¶ Return type: System.String public string WebRoot { get; set; }
-