Partilhar via


VS SDK 2010 Samples for WCF Service Consumption Tools

Today, we finished the work to upgrade SDK samples for WCF Service Consumption Tools to VS SDK 2010 beta2 release.

There are 3 samples included in this resource, each containing both Visual Basic and C# projects.
1. AsrDiscoverButton -- Extending the Discover button in the Add Service Reference dialog
This sample demonstrates how to add additional menu items to the drop-down portion of the Discover button on the Add Service Reference (ASR) dialog box.
2. EndpointPicker-- Customizing the generated code through WSDL importer extensions
This sample application demonstrates WCF Reference extensibility for customizing the generated code through WSDL importer extensions. The sample application creates a Add Custom Web Reference menu item in Solution Explorer which displays the Add Service Reference dialog box and then displays a window in which specific endpoints can be selected. The generated proxy consists of only the code for selected endpoints.
3. ServiceReferenceExplorer -- Enumerating WCF References in a tool window
This sample demonstrates WCF Service Reference extensibility. The sample application creates a tool window which displays reference groups and associated properties. You can add or delete reference groups and change reference group options through context menus for each tree nodes in the Extensibility Explorer tool window.
For download and usage information, see https://code.msdn.microsoft.com/vssdkwcftools

For all other VS SDK samples, see VSX Home on Code Gallery.

Enjoy!