I am working in Asp.net Core 1.0 MVC 6 I am trying to write a component to provide RSS feeds from my websites.
I found this post that suggests that System.ServiceModel.Syndication has yet to be ported to ASP.NET CORE.
I am unable to target the full .NET framework.
The suggestion is to write as an xml parser. I am however struggling to get my head around everything that might be required.
I have built the functionality to get my data into XML but now need to better understand how to allow this to be called from an IActionResult (or indeed how to generate a link that may be placed on my page).
I can provide samples of my code but am not sure it'll be helpful. Is anyone able to point me in the right direction of examples achieving this?
I also found an answer on this post which points towards some ideas but I think is pre MVC6/Asp.net Core: RSS Feeds in ASP.NET MVC
They've released a preview NuGet package for Microsoft.SyndicationFeed. On the dotnet/wcf repo, they've provided an example to get you up and running.
EDIT: I've posted a Repo and a NuGet package that serves as a Middleware around this.