KestrunHost constructor (1 of 2)
Initializes a new instance of the KestrunHost
class with the specified application name, root directory, and optional module paths.
public KestrunHost(string? appName, string? kestrunRoot = null, string[]? modulePathsObj = null)
parameter | description |
---|---|
appName | The name of the application. |
kestrunRoot | The root directory for the Kestrun application. |
modulePathsObj | An array of module paths to be loaded. |
See Also
- class KestrunHost
- namespace Kestrun.Hosting
KestrunHost constructor (2 of 2)
Initializes a new instance of the KestrunHost
class with the specified application name, logger, root directory, and optional module paths.
public KestrunHost(string? appName, ILogger logger, string? kestrunRoot = null,
string[]? modulePathsObj = null)
parameter | description |
---|---|
appName | The name of the application. |
logger | The Serilog logger instance to use. |
kestrunRoot | The root directory for the Kestrun application. |
modulePathsObj | An array of module paths to be loaded. |
See Also
- class KestrunHost
- namespace Kestrun.Hosting