Loren
Loren

Reputation: 1273

How to generate ATOM and RSS2 feeds with ASP.NET Web API?

What steps are needed to adjust the default XML output of the ASP.NET Web API to generate ATOM and RSS2 feeds?

Upvotes: 3

Views: 2423

Answers (1)

Maggie Ying
Maggie Ying

Reputation: 10185

You will need to implement a custom MediaTypeFormatter. You might want to check Filip's blog post on RSS & Atom MediaTypeFormatter for ASP.NET WebAPI.

Upvotes: 7

Related Questions