SiteMaps.NET 2.1.0

A simple middleware built on reflection designed to support your Search Engine Optimized (SEO) app by dynamically creating a Sitemap.xml and Robots.txt. This package is designed to be very simple for simple use cases but allows for custom disallowed routes, user agents, and custom node endpoints by supplying optional parameters to the middleware extension methods. Sitemaps.xml asks if you would like to parse the controllers - you can add the [NoSiteMap] attribute to any class or method you would not like included in the Sitemap.xml and the [Priority] attribute to set custom priorities per route. You can provide detail routing information for a dynamic sitemap.xml of items, e.g. a link for each product in the products database. The Robots middleware will allow you to add any number of RobotRules for defining your User-Agent and Disallowed routes. This middleware parses the existing controller structure and automatically includes all get endpoints in the dynamic Sitemap.xml while ignoring any Posts, Puts, or Deletes.

Suggested Alternatives


Additional Details

Uplifted to .NET standard.

There is a newer version of this package available.
See the version list below for details.
Install-Package SiteMaps.NET -Version 2.1.0
dotnet add package SiteMaps.NET --version 2.1.0
<PackageReference Include="SiteMaps.NET" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SiteMaps.NET --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SiteMaps.NET, 2.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SiteMaps.NET as a Cake Addin
#addin nuget:?package=SiteMaps.NET&version=2.1.0

// Install SiteMaps.NET as a Cake Tool
#tool nuget:?package=SiteMaps.NET&version=2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.1.3 332 9/25/2020
2.1.2 282 9/24/2020
2.1.1 321 6/10/2020
2.1.0 330 5/29/2020
2.0.2 344 5/14/2020
2.0.1 327 5/14/2020
2.0.0 305 5/14/2020
1.0.5 329 4/20/2020
1.0.4 332 4/20/2020
1.0.3 413 1/17/2020
1.0.2 521 1/17/2020
1.0.1 427 1/17/2020
1.0.0 448 1/17/2020