/// <summary>
        /// Will create a new Web Application in IIS under the given Web Site, with the provided options.
        /// </summary>
        /// <param name="name"></param>
        /// <param name="webSite"></param>
        /// <param name="options"></param>
        /// <returns></returns>
        public static IOfferRemoteConfiguration IISWebApp(this IOfferRemoteConfiguration infra, string name, string webSite, Action<IOfferIisWebAppOptions> options)
        {
            var builder = new IisWebAppOptions(name);
            options(builder);

            var op = new IisWebAppOperation(name, webSite, builder.Values);
            Configure.Operation(infra, op);
            return infra;
        }
 /// <summary>
 /// Will create a new Web Application in IIS under the given Web Site.
 /// </summary>
 /// <param name="name"></param>
 /// <param name="webSite"></param>
 /// <returns></returns>
 public static IOfferRemoteConfiguration IISWebApp(this IOfferRemoteConfiguration infra, string name, string webSite)
 {
     var op = new IisWebAppOperation(name, webSite);
     Configure.Operation(infra, op);
     return infra;
 }
Example #3
0
        public IOfferInfrastructure IISWebApp(string name, string webSite, Action<IOfferIisWebAppOptions> options)
        {
            var webAppOptions = new IisWebAppOptions(name);
            options(webAppOptions);

            var op = new IisWebAppOperation(name, webSite, webAppOptions.Values);
            AddOperation(op);
            return this;
        }
        public IOfferInfrastructure IISWebApp(string name, string webSite, Action<IOfferIisWebAppOptions> options)
        {
            var webAppOptions = new IisWebAppOptions(name);
            options(webAppOptions);

            var op = new IisWebAppOperation(name, webSite, webAppOptions.Values);
            op.Configure(new RemoteCompositeBuilder(_infrastructureSequence.NewCompositeSequence(op), _webDeploy), new InfrastructureBuilder(_infrastructureSequence, _webDeploy));
            return this;
        }
Example #5
0
 public IOfferInfrastructure IISWebApp(string name, string webSite)
 {
     var op = new IisWebAppOperation(name, webSite);
     AddOperation(op);
     return this;
 }