X hits on this document

58 views

0 shares

0 downloads

0 comments

24 / 28

UriTemplate

String that allows you to define the structure of the URI, as well as to define “Holes”

The “Holes” are variables

You Bind the template with parameters to fill the holes

{productId} hole / variable gets bound to productId parameter in operation

[OperationContract]

[WebGet(UriTemplate=“product/{productId}")]

Product GetProduct(int productId);

Variable

Document info
Document views58
Page views58
Page last viewedFri Dec 02 20:50:12 UTC 2016
Pages28
Paragraphs438
Words1567

Comments