private static Uri GetServiceUri(int tcpPort) { return new Uri(String.Format(CultureInfo.InvariantCulture, "net.tcp://localhost:{0}/", tcpPort)); }