Ejemplo n.º 1
0
        internal string ResolveRootWebConfigPath()
        {
            string rootWebConfigPath = null;

            if (null != _functions)
            {
                rootWebConfigPath = _functions.GetRootWebConfigFilename();
            }

            return(rootWebConfigPath);
        }
        string IConfigMapPath.GetRootWebConfigFilename()
        {
            string rootWeb = null;

            if (null != _functions)
            {
                rootWeb = _functions.GetRootWebConfigFilename();
            }

            if (String.IsNullOrEmpty(rootWeb))
            {
                rootWeb = HttpConfigurationSystem.RootWebConfigurationFilePath;
            }
            Debug.Trace("MapPath", "ProcHostMP.GetRootWebConfigFilename = " +
                        rootWeb);

            Debug.Assert(!String.IsNullOrEmpty(rootWeb), "rootWeb != null or empty");

            return(rootWeb);
        }