Download sample
The UriTemplateTable class provides a dictionary-like associative table structure for working with a set of UriTemplate instances. Specific URIs can be matched efficiently against all templates in the table, and data associated with the matched template can be retrieved.
Note: |
|---|
|
This sample requires that .NET Framework version 3.5 is installed to build and run. Visual Studio 2008 is required to open the project and solution files. |
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
See Also
© 2007 Microsoft Corporation. All rights reserved.