Skip to content

Commit 5fd1995

Browse files
mlacouturemairaw
authored andcommitted
Change fake web service address (#5776)
1 parent d95485c commit 5fd1995

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/core/additional-tools/dotnet-svcutil-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public interface ISayHello
3232
string Hello(string name);
3333
}
3434
```
35-
For this example, the web service will be assumed to be hosted at the following address: _http://myhost/SayHello.svc_
35+
For this example, the web service will be assumed to be hosted at the following address: `http://contoso.com/SayHello.svc`
3636

3737
From a `Windows`, `macOS`, or `Linux` command window perform the following steps:
3838

@@ -66,7 +66,7 @@ dotnet restore
6666
5. Run _dotnet_ with the _svcutil_ command to generate the web service reference file as follows:
6767

6868
```console
69-
dotnet svcutil http://myhost/SayHello.svc
69+
dotnet svcutil http://contoso.com/SayHello.svc
7070
```
7171
The generated file is saved as _HelloSvcutil/ServiceReference1/Reference.cs_. The _dotnet_svcutil_ tool also adds to the project the appropriate WCF packages required by the proxy code as package references.
7272

0 commit comments

Comments
 (0)