You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/core/additional-tools/dotnet-svcutil-guide.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ public interface ISayHello
32
32
stringHello(stringname);
33
33
}
34
34
```
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`
36
36
37
37
From a `Windows`, `macOS`, or `Linux` command window perform the following steps:
38
38
@@ -66,7 +66,7 @@ dotnet restore
66
66
5. Run _dotnet_ with the _svcutil_ command to generate the web service reference file as follows:
67
67
68
68
```console
69
-
dotnet svcutil http://myhost/SayHello.svc
69
+
dotnet svcutil http://contoso.com/SayHello.svc
70
70
```
71
71
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.
0 commit comments