private static UrlMappingConfiguration CreateConfig()
        {
            string mappingFile = WebConfiguration.Current.ExecutionEngine.UrlMappingFile;

            if (string.IsNullOrEmpty(mappingFile))
            {
                return(new UrlMappingConfiguration());
            }
            else
            {
                return(UrlMappingConfiguration.CreateUrlMappingConfiguration(WebConfiguration.Current.ExecutionEngine.UrlMappingFile));
            }
        }
 /// <summary> Sets the current <see cref="UrlMappingConfiguration"/>. </summary>
 public static void SetCurrent(UrlMappingConfiguration mappingConfiguration)
 {
     s_current.Value = mappingConfiguration;
 }