What is the default behavior with WCF Rest when I annotate a method with par开发者_StackOverflowameters with a WebGet attribute, but do not provide a UriTemplate? Is there a default behavior or does WCF just not respond to GET requests at all (which is what seems to be happening for me).
Default UriTemplate for operation marked with WebGet is: /OperationName?param1={value}¶m2={value}
etc. where param1 and param2 are names of first and second operation's parameter. You can check current uri of your operations by enabling help page.
精彩评论