X hits on this document

107 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 views107
Page views107
Page last viewedMon Jan 23 07:38:40 UTC 2017
Pages28
Paragraphs438
Words1567

Comments