Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 26, 2012 05:23 PM by ncage
Mar 26, 2012 05:10 PM|LINK
Just got started with Web API.
My question is where is the correct place to shim your hypermedia controls (links) into your responses. I would think you wouldn't want to put it in whatever data structure your returning from your action method (its ok URI in my RESTful responses but messy
to have it in internal objects).
There might be instances where you also need to read the hypermedia controls from the request. Is there any good links/blog post you can reference that discuss this? Is action filters the answer?
Mar 26, 2012 05:13 PM|LINK
Glenn posted some samples on his blog at http://codebetter.com/glennblock/2012/01/08/hypermedia-and-web-api-design-brain-dump-and-samples/.
By the way, happy birthday, Glenn!
Mar 26, 2012 05:23 PM|LINK
thanks thats exactly what i was looking for.