Мысли вслух…

Архив за Сентябрь, 2012

WCF RESTful service, How to pass url as argument for GET method?

Пользователь Сен.11.2012. Категория Development

Hi all,

Today I found that I need to pass url as argument to my WCF RESTful service. At first I found that I handled exception when you try to pass argument as encoded url.

Solution is too simple, modify your UrlTemplate with named arguments.

Like this — UriTemplate = «Service?a={url}&b={filename}»

Оставить комментарий : дальше...

Поиск

Список друзей