Eigenverft.WebLib.Infrastructure
  • Guides
  • API
Show / Hide Table of Contents
  • Eigenverft.WebLib.Infrastructure.Hosting.Configuration.Values
    • AspNetDataProtectionConfigurationValueCodecs
  • Eigenverft.WebLib.Infrastructure.Hosting.DirectoryLayout
    • WebApplicationBuilderFactory
  • Eigenverft.WebLib.Infrastructure.Hosting.Kestrel
    • ConfigureWebHostBuilderExtensions
  • Eigenverft.WebLib.Infrastructure.Transformations
    • AspNetDataProtectionStringTransforms

Class WebApplicationBuilderFactory

Creates ASP.NET Core builders that use the shared NetLib application directory layout.

Inheritance
object
WebApplicationBuilderFactory
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Eigenverft.WebLib.Infrastructure.Hosting.DirectoryLayout
Assembly: Eigenverft.WebLib.Infrastructure.dll
Syntax
public static class WebApplicationBuilderFactory

Methods

| Edit this page View Source

CreateWithDefaultDirectory(IReadOnlyDictionary<DefaultDirectory, string>, string[]?, bool)

Creates a web application builder with the standard application directories and typed folder-name overrides.

Declaration
public static WebApplicationBuilder CreateWithDefaultDirectory(IReadOnlyDictionary<DefaultDirectory, string> directoryOverrides, string[]? args = null, bool strictWwwrootName = true)
Parameters
Type Name Description
IReadOnlyDictionary<DefaultDirectory, string> directoryOverrides
string[] args
bool strictWwwrootName
Returns
Type Description
WebApplicationBuilder
| Edit this page View Source

CreateWithDefaultDirectory(IReadOnlyDictionary<string, string>, string[]?, bool)

Creates a web application builder from a custom semantic directory map.

Declaration
public static WebApplicationBuilder CreateWithDefaultDirectory(IReadOnlyDictionary<string, string> folderMap, string[]? args = null, bool strictWwwrootName = true)
Parameters
Type Name Description
IReadOnlyDictionary<string, string> folderMap
string[] args
bool strictWwwrootName
Returns
Type Description
WebApplicationBuilder
| Edit this page View Source

CreateWithDefaultDirectory(string[]?)

Creates a web application builder with the standard application directories and wwwroot.

Declaration
public static WebApplicationBuilder CreateWithDefaultDirectory(string[]? args = null)
Parameters
Type Name Description
string[] args

Optional command-line arguments passed to ASP.NET Core.

Returns
Type Description
WebApplicationBuilder
  • Edit this page
  • View Source
In this article
Back to top