WCFExtra's is an awesome addition to any WCF project which enables you to include your code comments as documentation in the generated wsdl.
The documentation is pretty ordinary though. To make the XMLComments work first we need to follow the instructions here: https://wcfextrasplus.codeplex.com/wikipage?title=XML%20Comments&referringTitle=Documentation
Next, you need to enable XML document generation in your WCF project properties as follows:
- Right click on your project and select properties
- Go to the build tab
- Tick XML documentation file. Leave the generated filename as is.
Repeat this process for any other references projects that are used in your service contract.
Now we should see wsdl:documentation tag appeared in our WSDL
Grab WCFExtras on nuget: https://www.nuget.org/packages/WCFExtras/
No comments:
Post a Comment