3
I’m needing to get my project in Rest WEB API to return RSS instead of json or XML ... I’d like to see if anyone has already done it ?
3
I’m needing to get my project in Rest WEB API to return RSS instead of json or XML ... I’d like to see if anyone has already done it ?
1
I managed to solve with this tutorial http://www.strathweb.com/2012/04/rss-atom-mediatypeformatter-for-asp-net-webapi/ and adding the code below in Global.asax within Application_start :
Globalconfiguration.Configuration.Formatters.Clear(); Globalconfiguration.Configuration.Formatters.Add(new Syndicationfeedformatter());
The project had already gone off the air,.
Browser other questions tagged c# asp.net-web-api
You are not signed in. Login or sign up in order to post.
Here at that link has a complete project implementing custom media formats.
– Lucas Venturella
But RSS is an XML only formatted according to be with the data of the "news"
– MayogaX
Did you find a solution? Poste as an answer to help other people.
– Maniero
@bigown I followed this tutorial http://www.strathweb.com/2012/04/rss-atom-mediatypeformatter-for-asp-net-webapi/ I’m looking for the project but I think to return only rss I added this code below in Global.asax inside Application_start Globalconfiguration.Configuration.Formatters.Clear(); Globalconfiguration.Configuration.Formatters.Add(new Syndicationfeedformatter());
– thiago.adriano26
And it worked for you? Post as an answer for everyone to enjoy. And accept it later.
– Maniero