Exemplo n.º 1
0
        /// <summary>
        /// Creates new instance of <see cref="BindingSettings"/>.
        /// </summary>
        /// <param name="bindingProtocol">Binding type.</param>
        public BindingSettings(BindingProtocol bindingProtocol)
        {
            this.BindingProtocol = bindingProtocol;

            IISBindings.Http.SetIpAddress("127.0.0.1").SetPort(8080);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Creates new instance of <see cref="BindingSettings"/>.
 /// </summary>
 /// <param name="bindingProtocol">Binding type.</param>
 public BindingSettings(BindingProtocol bindingProtocol)
 {
     this.BindingProtocol = bindingProtocol;
 }