Example #1
0
        public static IisVirtualDirectoryConfiguration FromMwaVirtualDirectory(ILogSink logger, string siteName, VirtualDirectory vdir, IisVirtualDirectoryConfiguration template = null)
        {
            var config = new IisVirtualDirectoryConfiguration();

            config.SiteName        = siteName;
            config.ApplicationPath = template?.ApplicationPath;
            config.SetPropertiesFromMwa(logger, vdir, template);
            return(config);
        }
Example #2
0
 public static void SetMwaVirtualDirectory(ILogSink logger, IisVirtualDirectoryConfiguration config, VirtualDirectory vdir)
 {
     config.SetPropertiesOnMwa(logger, vdir);
 }