protected override void Given(InstallationConfiguration installationConfiguration)
        {
            DeleteExistingSite();
            CreateExistingSite();

            installationConfiguration
                .WithAppPool(AppPoolName)
                .AndDeleteExistingAppPool();
        }
Exemplo n.º 2
0
        public void SetUp()
        {
            DeleteExistingSite();

            InstallationConfiguration = new InstallationConfiguration(Environment.CurrentDirectory, null);
            InstallationConfiguration.WithSiteName(SiteName);
            InstallationConfiguration.WithAppPool(AppPoolName);

            Given(InstallationConfiguration);

            using (var manager = new ServerManagerWrapper())
            {
                When(manager);

                manager.CommitChanges();
            }
        }