title: How to check what is wrong in domain URL in C#
body: <p>How to check what is wrong in domain URL in C#</p>
  
  <p>I want to updated domain URL when invalid domain enter.</p>
  
  <pre><code>Input Put of Domain:          OutPut Like
  
  1)http:/localhost:1234/------&gt;http://localhost:1234/
  2)http://localhost:1234------&gt;http://localhost:1234/
  3)http:localhost:1234/-------&gt;http://localhost:1234/
  4)http:localhost:1234--------&gt;http://localhost:1234/
  5)localhost:1234/------------&gt;http://localhost:1234/
  6)localhost:1234-------------&gt;http://localhost:1234/
  </code></pre>
  
  <p>Also above all test cases with <strong>HTTPS</strong></p>
  
  <p>May be need add more test cases.</p>
  
  <p>I have code of nopCommerece for warning but it's use only current store .</p>
  
  <p>How I develop a code for enter domain is valid or not and return valid domain.</p>