예제 #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);
        }
예제 #2
0
 /// <summary>
 /// Creates new instance of <see cref="BindingSettings"/>.
 /// </summary>
 /// <param name="bindingProtocol">Binding type.</param>
 public BindingSettings(BindingProtocol bindingProtocol)
 {
     this.BindingProtocol = bindingProtocol;
 }