UriTemplate Table Sample
The UriTemplateTable class provides a dictionary-like associative table structure for working with a set of UriTemplate instances. Specific Uniform Resource Identifiers (URIs) can be matched efficiently against all templates in the table, and data associated with the matched template can be retrieved.
This sample demonstrates the following key concepts related to the UriTemplateTable class:
Syntax for instantiating a UriTemplateTable.
Populating a UriTemplateTable with a set of key/value pairs.
Matching a candidate URI against the table using MatchSingle.
To set up, build, and run the sample
To build the C# or Visual Basic .NET edition of the solution, follow the instructions in Building the Windows Communication Foundation Samples.
To run the sample in a single- or cross-machine configuration, follow the instructions in Running the Windows Communication Foundation Samples.
The samples may already be installed on your computer. Check for the following (default) directory before continuing.