
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
The Atom Syndication Format is an XML language used for web feeds.
This project is a .NET implement of Atom 1.0.
You may want to learn about the Atom from the links below:
Most of the modern feed readers support Atom.
You can use this library to build a feed server, or build an app to handle Atom feeds.
dotnet add package AtomFeed
Serialize:
using AtomFeed;
using AtomFeed.Element;
var feed = new Feed
{
Id = "urn:uuid:" + Guid.NewGuid().ToString(),
Title = "My Blog Feed",
Updated = DateTimeOffset.UtcNow,
Entries =
[
new Entry
{
Id = "urn:uuid:" + Guid.NewGuid().ToString(),
Title = "My First Article",
Updated = DateTimeOffset.UtcNow
}
]
};
var xmlDocument = Atom.Serialize(feed);
Deserialize:
using AtomFeed;
const string xml =
"""
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<id>urn:uuid:01931011-954d-71ee-ade5-0146811ae69f</id>
<title>Sample Feed</title>
<updated>2024-11-09T08:36:48Z</updated>
</feed>
""";
var feed = Atom.Deserialize(xml);
Normally, the strict mode is disabled, when the giving feed is invalid, the parser will return null.
If the strict mode is enabled, the parser will throw an exception.
The strict mode can be used to validate the feed, it follows the W3C Atom feed validation.
var xml = string.Empty;
// A System.Data.ArgumentException will be thrown,
// because the feed is empty.
var feed = Atom.Deserialize(xml, true);
const string xml =
"""
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
</feed>
""";
// A System.Data.ConstraintException will be thrown,
// because the feed <id> tag is missing.
var feed = Atom.Deserialize(xml, true);
See more in the DeserializeStrictModeTests.cs
The MIT License
FAQs
Atom Feed (RSS) library for .NET Framework.
We found that atomfeed demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.