예제 #1
0
        private static IWebsiteHost LoadConfigFile(Uri uri)
        {
            var configPath = LookupConfigPath(uri);

            var serializer = new IniWebsiteHostSerializer();
            var host       = serializer.SeralizeFromPath(configPath);

            return(host);
        }
예제 #2
0
        private static IWebsiteHost SerializeIniConfigFile(string path)
        {
            var serializer = new IniWebsiteHostSerializer();

            return(serializer.SeralizeFromPath(path));
        }