Exemple #1
0
        public static Application AddNewWithDefaults(this ApplicationCollection applications)
        {
            Application defaultApplication = applications.DefaultApplication();

            string path = "/application" + applications.Count;

            return(applications.Add(path, defaultApplication.VirtualDirectory().PhysicalPath));
        }