Try this test: UriPattern p = UriPattern.Create("/LiveContacts/Contacts/Contact({ContactId})"); IDictionary<string, string> values = p.Parse("/LiveContacts/Contacts/Contact(...
When a UriTemplate is going to be used over and over, it would be nice to allow the template to be specified as a compiled pattern