Search

You searched for the word(s): userid:873919

Matching Posts

  • UriTemplate with wildcard not matching file extension?

    I am using WCF REST RC2. My service is defined like this: [WebGet(UriTemplate = "media/{*uri}" )] [OperationContract] public Stream GetMedia( string uri) { ... } My problem is that this matches "media/foo" and "media/foo/bar" but not "media/foo/bar.png" As soon as I put an extension in the URL, it is not matched by the template and I get a "resource cannot be found" error. Any ideas?
    Posted to WCF REST Starter Kit (Forum) by fwillerup on 6/5/2009
Page 1 of 1 (1 items)