30 March 2014

Internationalized Domain Names support

Internationalized domain name is a domain name that contains non-ASCII characters.

   Ability to host WCF with IDN name
   Client can call the service by using IDN name

Fig 1: Display the config settings


Uri has two properties Host and DnsSafeHost. These properties contain Unicode or Punycode values depending upon the IDN configuration settings
  • "None" - no conversions are performed by Uri.Host or Uri.DnsSafeHos
  • "AllExceptIntranet" - uri.Host remains Unicode and uri.DnsSafeHost is converted to Punycode
  • "All" - uri.DnsSafeHost is converted to Punycode for internet addresses, and remains Unicode for intranet addresses

No comments:

Post a Comment