protected override void When(ServerManagerWrapper manager)
        {
            var createSite = new CreateSite(manager);
            _site = createSite.Install(InstallationConfiguration);

            var logging = new ConfigureLogging(manager, _directoryMock.Object);
            logging.ConfigureInstalledSite(_site, InstallationConfiguration);
        }
        protected override void When(ServerManagerWrapper manager)
        {
            var createSite = new CreateSite(manager);
            _site = createSite.Install(InstallationConfiguration);

            var bindings = new ConfigureBindings(manager);
            bindings.ConfigureInstalledSite(_site, InstallationConfiguration);
        }
Ejemplo n.º 3
0
        public SiteDeployer(IServerManager serverManager, InstallationConfiguration installationConfiguration, IDirectory directory)
        {
            _serverManager = serverManager;
            _installationConfiguration = installationConfiguration;
            _directory = directory;

            _preInstall = new PreInstallationTaskList
            {
                new DeleteExistingSite(_serverManager),
            };

            _installation = new CreateSite(_serverManager);

            _configuration = new ConfigurationTaskList
            {
                new ConfigureAppPool(_serverManager),
                new ConfigureBindings(_serverManager),
                new ConfigureLogging(_serverManager, _directory),
                new ConfigureAdditionalDirectories(_serverManager, _directory)
            };
        }
Ejemplo n.º 4
0
 protected override void When(ServerManagerWrapper manager)
 {
     var createSite = new CreateSite(manager);
     createSite.Install(InstallationConfiguration);
 }