Browse files

use fixed service URI for this sample.

  • Loading branch information...
1 parent 50ea05e commit f3d89b5ec72da5961ebb0648c6b69b85a15d69b6 Atsushi Eno committed Feb 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 samples/wcf/authorization/samplecli.cs
View
2 samples/wcf/authorization/samplecli.cs
@@ -24,7 +24,7 @@ static void Run (string user, string pass)
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType.Basic;
FooProxy proxy = new FooProxy (binding,
- new EndpointAddress ("http://localhost:8080/" + (aspx ? "auth.svc" : "")));
+ new EndpointAddress ("http://localhost:8080/auth.svc"));
proxy.ClientCredentials.UserName.UserName = user;
proxy.ClientCredentials.UserName.Password = pass;
proxy.Open ();

0 comments on commit f3d89b5

Please sign in to comment.