Method WithConfigFile
Namespace: Sisk.Core.Http.Hosting
Assembly: Sisk.Core.dll
WithConfigFile(string, bool, ConfigurationFileLookupDirectory)
Specifies the name of the server configuration file.
public PortableConfigurationBuilder WithConfigFile(string filename, bool createIfDontExists = false, ConfigurationFileLookupDirectory lookupDirectories = ConfigurationFileLookupDirectory.CurrentDirectory)
Parameters
filename string
The name of the JSON configuration file.
createIfDontExists bool
Optional. Determines if the configuration file should be created if it doens't exists.
lookupDirectories ConfigurationFileLookupDirectory
Optional. Specifies the directories which the IConfigurationReader should search for the configuration file.
                                    English
                                
                                    Русский
                                
                                    Português
                                
                                    Español
                                
                                    Deutsch
                                
                                    中文 (简体)
                                
                                    日本語