Can I do the following?
[OperationContract] [WebGet(UriTemplate = \"/foo/{id}\")] string GetFoo(int id);
I\'d like my service to function a
If I remember correctly, UriTemplate variables in the path always resolve to strings when using WebGet or WebInvoke. You can only bind UriTemplate variables to int, long, etc. when they are in the query portion of the UriTemplate.