This project is read-only.

Emitting Comments

Topics: Web Api
Jan 19, 2012 at 8:27 PM

One thing I would really like to do is include service announcements via comments in the feed. A couple of partner's whose feeds I consume do this occasionally to communicate upcoming updates, changes, etc. 

Is there an easy way to prepend and XML comment (or JS comment for JSON)? If not, it would be a handy feature.

Jan 20, 2012 at 11:18 AM

Not sure what "feed" you have, but if you generate XML and JSON representations of your resources via media type formatters in Web API, then you have complete control of what and how you write to the outgoing stream.

Jan 21, 2012 at 12:40 AM

That was pretty easy to do. Thanks for the pointer.