I\'m curious to know how others have dealt with the issue of generating hypermedia links for their web APIs? Specifically, I\'m using ASP.NET Web API, and am torn between having
I prefer option two (adding the hypermedia links later in the pipeline) and blogged about doing this yesterday.
The solution was to "enrich" my resources with hypermedia links before they are returned to the client using a message handler.