Skip to content

Instantly share code, notes, and snippets.

@SchreinerK
Last active September 20, 2019 13:20
Show Gist options
  • Save SchreinerK/9fdbb7cf91bb1831a764a83590a5f59d to your computer and use it in GitHub Desktop.
Save SchreinerK/9fdbb7cf91bb1831a764a83590a5f59d to your computer and use it in GitHub Desktop.
Problem with pack URIs in unit tests.
System.UriFormatException : Invalid URI: An invalid port was specified.
System.UriFormatException : Ungültiger URI: Es wurde ein ungültiger Anschluss angegeben.
// http://jake.ginnivan.net/pack-uri-in-unit-tests/
PackUriHelper.Create(new Uri("reliable://0")); // register pack-uri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment