Ejemplo n.º 1
0
            public override void Context()
            {
                base.Context();
                DeleteApplicationPool();
                ApplicationPoolShouldNotExist();

                task = new Iis7OperationTask
                {
                    ServerName = WebServerName,
                    ApplicationPool = ApplicationPoolName,
                    Operation = Iis7Operation.StartApplicationPool
                };
            }
Ejemplo n.º 2
0
            public override void Context()
            {
                base.Context();
                StartApplicationPool();
                AppPool.ShouldBeRunning();

                task = new Iis7OperationTask
                {
                    ServerName = WebServerName,
                    ApplicationPool = ApplicationPoolName,
                    Operation = Iis7Operation.StartApplicationPool
                };
            }