System.ServiceModel.Syndication 10.0.1

Prefix Reserved
dotnet add package System.ServiceModel.Syndication --version 10.0.1
                    
NuGet\Install-Package System.ServiceModel.Syndication -Version 10.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="System.ServiceModel.Syndication" Version="10.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="System.ServiceModel.Syndication" Version="10.0.1" />
                    
Directory.Packages.props
<PackageReference Include="System.ServiceModel.Syndication" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add System.ServiceModel.Syndication --version 10.0.1
                    
#r "nuget: System.ServiceModel.Syndication, 10.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package System.ServiceModel.Syndication@10.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=System.ServiceModel.Syndication&version=10.0.1
                    
Install as a Cake Addin
#tool nuget:?package=System.ServiceModel.Syndication&version=10.0.1
                    
Install as a Cake Tool

About

Provides types for generating and consuming RSS and Atom feeds. It is used for creating and parsing syndication feeds, making it easier to build and integrate web content syndication.

Key Features

  • Easy generation and parsing of RSS and Atom feeds.
  • Customizable for different syndication needs.
  • Support for both feed reading and writing.

How to Use

Creating a Feed

using System.ServiceModel.Syndication;
using System.Xml;

// Create a new syndication feed
SyndicationFeed feed = new SyndicationFeed(
    "Feed Title",
    "Feed Description",
    new Uri("http://example.com"),
    "FeedID",
    DateTime.Now);

// Add items to the feed
SyndicationItem item1 = new SyndicationItem(
    "Title1",
    "Content1",
    new Uri("http://example.com/item1"));
feed.Items = new List<SyndicationItem> { item1 };

// Serialize the feed to RSS format
using (XmlWriter writer = XmlWriter.Create("rss.xml"))
{
    Rss20FeedFormatter rssFormatter = new Rss20FeedFormatter(feed);
    rssFormatter.WriteTo(writer);
}

Resulting RSS feed:

<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:a10="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>Feed Title</title>
        <link>http://example.com/</link>
        <description>Feed Description</description>
        <lastBuildDate>Sat, 11 Nov 2023 18:05:21 +0100</lastBuildDate>
        <a10:id>FeedID</a10:id>
        <item>
            <link>http://example.com/item1</link>
            <title>Title1</title>
            <description>Content1</description>
        </item>
    </channel>
</rss>

Consuming a Feed

using System.ServiceModel.Syndication;
using System.Xml;

string feedUrl = "https://devblogs.microsoft.com/dotnet/feed/";
using XmlReader reader = XmlReader.Create(feedUrl);

// Read the feed using Atom10FeedFormatter.
SyndicationFeed feed = SyndicationFeed.Load(reader);

Console.WriteLine($"Feed Title: {feed.Title.Text}");
Console.WriteLine("Feed Items:");

// Iterate through the feed items and display the title and a brief summary of each.
foreach (SyndicationItem item in feed.Items)
{
    Console.WriteLine($"Title: {item.Title.Text}");
    Console.WriteLine($"Published Date: {item.PublishDate.DateTime}");
}

/*
 * This code produces the following output:
 *
 * Feed Title: .NET Blog
 * Feed Items:
 * - Title: Join us for the Great .NET 8 Hack
 *   Published Date: 07/11/2023 18:05:00
 * - Title: The convenience of System.IO
 *   Published Date: 06/11/2023 18:05:00
 */

Main Types

The main types provided by this library are:

  • System.ServiceModel.Syndication.SyndicationFeed
  • System.ServiceModel.Syndication.SyndicationItem
  • System.ServiceModel.Syndication.Rss20FeedFormatter
  • System.ServiceModel.Syndication.Atom10FeedFormatter

Additional Documentation

Feedback & Contributing

System.ServiceModel.Syndication is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net10.0

    • No dependencies.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages (57)

Showing the top 5 NuGet packages that depend on System.ServiceModel.Syndication:

Package Downloads
Microsoft.Windows.Compatibility

This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET as well as .NET Standard.

Kentico.Xperience.Libraries

The runtime assemblies for libraries and applications that use Kentico Xperience API.

Dapplo.HttpExtensions

A library extensions to simplify HTTP usage.

Indice.AspNetCore.Identity

Package Description

StockSharp.Rss

RSS

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on System.ServiceModel.Syndication:

Repository Stars
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 10, 9, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
Prowlarr/Prowlarr
Prowlarr is an indexer manager/proxy built on the popular *arr .net/reactjs base stack to integrate with your various PVR apps, supporting management of both Torrent Trackers and Usenet Indexers.
microsoft/dotnet-podcasts
.NET reference application shown at .NET Conf featuring ASP.NET Core, Blazor, .NET MAUI, Microservices, Orleans, Playwright, and more!
Version Downloads Last Updated
10.0.1 58,652 12/9/2025
10.0.0 120,515 11/11/2025
10.0.0-rc.2.25502.107 14,634 10/14/2025
10.0.0-rc.1.25451.107 14,665 9/9/2025
10.0.0-preview.7.25380.108 4,402 8/12/2025
10.0.0-preview.6.25358.103 1,455 7/15/2025
10.0.0-preview.5.25277.114 1,328 6/6/2025
10.0.0-preview.4.25258.110 1,968 5/12/2025
10.0.0-preview.3.25171.5 14,142 4/10/2025
10.0.0-preview.2.25163.2 11,639 3/18/2025
10.0.0-preview.1.25080.5 1,475 2/25/2025
9.0.11 44,633 11/11/2025
9.0.10 264,452 10/14/2025
9.0.9 344,598 9/9/2025
9.0.8 212,085 8/4/2025
9.0.7 82,067 7/8/2025
9.0.6 265,756 6/10/2025
9.0.5 147,627 5/13/2025
9.0.4 532,040 4/8/2025
9.0.3 170,623 3/11/2025
9.0.2 236,815 2/11/2025
9.0.1 352,919 1/14/2025
9.0.0 642,266 11/12/2024
9.0.0-rc.2.24473.5 34,777 10/8/2024
9.0.0-rc.1.24431.7 9,364 9/10/2024
9.0.0-preview.7.24405.7 6,091 8/13/2024
9.0.0-preview.6.24327.7 15,495 7/9/2024
9.0.0-preview.5.24306.7 5,505 6/11/2024
9.0.0-preview.4.24266.19 2,927 5/21/2024
9.0.0-preview.3.24172.9 12,814 4/11/2024
9.0.0-preview.2.24128.5 7,541 3/12/2024
9.0.0-preview.1.24080.9 32,303 2/13/2024
8.0.0 12,501,646 11/14/2023
8.0.0-rc.2.23479.6 15,834 10/10/2023
8.0.0-rc.1.23419.4 12,046 9/12/2023
8.0.0-preview.7.23375.6 11,693 8/8/2023
8.0.0-preview.6.23329.7 1,870 7/11/2023
8.0.0-preview.5.23280.8 1,885 6/13/2023
8.0.0-preview.4.23259.5 11,186 5/16/2023
8.0.0-preview.3.23174.8 20,819 4/11/2023
8.0.0-preview.2.23128.3 7,351 3/14/2023
8.0.0-preview.1.23110.8 8,584 2/21/2023
7.0.0 5,541,710 11/7/2022
7.0.0-rc.2.22472.3 10,893 10/11/2022
7.0.0-rc.1.22426.10 62,878 9/14/2022
7.0.0-preview.7.22375.6 10,881 8/9/2022
7.0.0-preview.6.22324.4 1,417 7/12/2022
7.0.0-preview.5.22301.12 1,505 6/14/2022
7.0.0-preview.4.22229.4 69,445 5/10/2022
7.0.0-preview.3.22175.4 3,925 4/13/2022
7.0.0-preview.2.22152.2 12,044 3/14/2022
7.0.0-preview.1.22076.8 3,151 2/17/2022
6.0.0 15,879,388 11/8/2021
6.0.0-rc.2.21480.5 9,348 10/12/2021
6.0.0-rc.1.21451.13 8,937 9/14/2021
6.0.0-preview.7.21377.19 3,354 8/10/2021
6.0.0-preview.6.21352.12 2,225 7/14/2021
6.0.0-preview.5.21301.5 5,904 6/15/2021
6.0.0-preview.4.21253.7 24,454 5/24/2021
6.0.0-preview.3.21201.4 8,518 4/8/2021
6.0.0-preview.2.21154.6 8,811 3/11/2021
6.0.0-preview.1.21102.12 3,949 2/12/2021
5.0.0 26,706,658 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.5 10,006 10/13/2020
5.0.0-rc.1.20451.14 7,712 9/14/2020
5.0.0-preview.8.20407.11 10,011 8/25/2020
5.0.0-preview.7.20364.11 22,522 7/21/2020
5.0.0-preview.6.20305.6 4,315 6/25/2020
5.0.0-preview.5.20278.1 4,574 6/10/2020
5.0.0-preview.4.20251.6 8,299 5/18/2020
5.0.0-preview.3.20214.6 40,275 4/23/2020
5.0.0-preview.2.20160.6 19,837 4/2/2020
5.0.0-preview.1.20120.5 1,510 3/16/2020
4.7.0 8,737,058 12/3/2019
4.7.0-preview3.19551.4 2,726 11/13/2019
4.7.0-preview2.19523.17 15,304 11/1/2019
4.7.0-preview1.19504.10 9,999 10/15/2019
4.6.0 2,248,386 9/23/2019
4.6.0-rc1.19456.4 5,160 9/16/2019
4.6.0-preview9.19421.4 3,488 9/4/2019
4.6.0-preview9.19416.11 745 9/4/2019
4.6.0-preview8.19405.3 6,040 8/13/2019
4.6.0-preview7.19362.9 8,293 7/23/2019
4.6.0-preview6.19303.8 42,455 6/12/2019
4.6.0-preview6.19264.9 756 9/4/2019
4.6.0-preview5.19224.8 28,745 5/6/2019
4.6.0-preview4.19212.13 1,926 4/18/2019
4.6.0-preview3.19128.7 8,554 3/6/2019
4.6.0-preview.19073.11 15,061 1/29/2019
4.6.0-preview.18571.3 20,754 12/3/2018
4.5.0 12,448,119 5/29/2018
4.5.0-rc1 49,097 5/6/2018
4.5.0-preview2-26406-04 18,825 4/10/2018
4.5.0-preview1-26216-02 34,420 2/26/2018
4.5.0-preview1-25914-04 311,639 11/15/2017