Skip to content

Commit

Permalink
update.
Browse files Browse the repository at this point in the history
  • Loading branch information
imcarolwang committed Aug 8, 2024
1 parent 6e04e8a commit c0a8424
Showing 1 changed file with 4 additions and 26 deletions.
30 changes: 4 additions & 26 deletions src/dotnet-svcutil/src/README-nuget.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,33 +20,11 @@ Dotnet-svcutil can generate code for service contracts, clients and data types f

You can use dotnet-svcutil tool to generate service and data contracts based on a predefined WSDL document. Use the `--serviceContract` switch and specify a URL or file location where the WSDL document can be downloaded or found. This generates the service and data contracts defined in the WSDL document that can then be used to implement a complaint service.

### Referencing and Sharing Types
| Option |Description|
|:--------|:----------|
--reference \<package\>|Package or project references to reuse types from. When generating clients, use this option to specify references in the user's project that might contain types representing the metadata being imported. The reference can be specified as a nuget package name and version or the path to a .Net Core project. (Short Form: -r)
--excludeType \<type\>|A fully-qualified or assembly-qualified type name to exclude from referenced contract types. (Short Form: -et)

### Choosing a Serializer
| Option |Description|
|:--------|:----------|
--serializer Auto|Automatically select the serializer. This tries to use the Data Contract serializer and uses the XmlSerializer if that fails. (Short Form: -ser)
--serializer DataContractSerializer|Generate data types that use the Data Contract Serializer for serialization and deserialization
--serializer XmlSerializer|Generate data types that use the XmlSerializer for serialization and deserialization

### Choosing a Namespace for the Client
| Option |Description|
|:--------|:----------|
--namespace \<string,string\>|A mapping from a WSDL or XML Schema targetNamespace to a CLR namespace. Using the '*' for the targetNamespace maps all targetNamespaces without an explicit mapping to that CLR namespace. Default: derived from the target namespace of the schema document for Data Contracts. The default namespace is used for all other generated types. (Short Form: -n)

### Choosing a Data Binding
| Option |Description|
|:--------|:----------|
--enableDataBinding|Implement the System.ComponentModel.INotifyPropertyChanged interface on all Data Contract types to enable data binding. (Short Form: -edb)

## Additional documentation

For more details, visit the [WCF dotnet-svcutil tool guide](https://learn.microsoft.com/en-us/dotnet/core/additional-tools/dotnet-svcutil-guide?tabs=dotnetsvcutil2x).
For more details about the tool usage, visit the [WCF dotnet-svcutil tool guide](https://learn.microsoft.com/en-us/dotnet/core/additional-tools/dotnet-svcutil-guide?tabs=dotnetsvcutil2x).

## Feedback
## Feedback & Contributing

For issues or feedback, please [file an issue on GuitHub](https://github.com/dotnet/wcf).
To explore the project or contribute, visit our [GitHub repository](https://github.com/dotnet/wcf/tree/main/src/dotnet-svcutil).
For reporting issues or providing feedback, please [open an issue on GitHub](https://github.com/dotnet/wcf).

0 comments on commit c0a8424

Please sign in to comment.