示例#1
0
        public IOfferInfrastructure IISAppPool(string name, Action<IOfferIisAppPoolOptions> options)
        {
            var appPoolOptions = new IisAppPoolOptions();
            options(appPoolOptions);

            var appPoolOperation = new IisAppPoolOperation(name, appPoolOptions.Values);

            appPoolOperation.Configure(new RemoteCompositeBuilder(_infrastructureSequence.NewCompositeSequence(appPoolOperation), _webDeploy), new InfrastructureBuilder(_infrastructureSequence, _webDeploy));
            return this;
        }
示例#2
0
        public IOfferInfrastructure IISAppPool(string name, Action<IOfferIisAppPoolOptions> options)
        {
            var appPoolOptions = new IisAppPoolOptions();
            options(appPoolOptions);

            var appPoolOperation = new IisAppPoolOperation(name, appPoolOptions.Values);

            AddOperation(appPoolOperation);
            return this;
        }
 /// <summary>
 /// Will create a new Application Pool in IIS with provided options.
 /// </summary>
 /// <param name="name"></param>
 /// <param name="options"></param>
 /// <returns></returns>
 public static IOfferRemoteConfiguration IISAppPool(this IOfferRemoteConfiguration infra, string name, Action<IOfferIisAppPoolOptions> options)
 {
     var opt = new IisAppPoolOptions();
     options(opt);
     var op = new IisAppPoolOperation(name, opt.Values);
     Configure.Operation(infra, op);
     return infra;
 }
 /// <summary>
 /// Will create a new Application Pool in IIS.
 /// </summary>
 /// <param name="name"></param>
 /// <returns></returns>
 public static IOfferRemoteConfiguration IISAppPool(this IOfferRemoteConfiguration infra, string name)
 {
     var op = new IisAppPoolOperation(name);
     Configure.Operation(infra, op);
     return infra;
 }
示例#5
0
 public IOfferInfrastructure IISAppPool(string name)
 {
     var op = new IisAppPoolOperation(name);
     op.Configure(new RemoteCompositeBuilder(_infrastructureSequence.NewCompositeSequence(op), _webDeploy), new InfrastructureBuilder(_infrastructureSequence, _webDeploy));
     return this;
 }
示例#6
0
 public IOfferInfrastructure IISAppPool(string name)
 {
     var op = new IisAppPoolOperation(name);
     AddOperation(op);
     return this;
 }