MintPlayer.Spark.SitemapXml 11.0.0

dotnet add package MintPlayer.Spark.SitemapXml --version 11.0.0
                    
NuGet\Install-Package MintPlayer.Spark.SitemapXml -Version 11.0.0
                    
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="MintPlayer.Spark.SitemapXml" Version="11.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MintPlayer.Spark.SitemapXml" Version="11.0.0" />
                    
Directory.Packages.props
<PackageReference Include="MintPlayer.Spark.SitemapXml" />
                    
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 MintPlayer.Spark.SitemapXml --version 11.0.0
                    
#r "nuget: MintPlayer.Spark.SitemapXml, 11.0.0"
                    
#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 MintPlayer.Spark.SitemapXml@11.0.0
                    
#: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=MintPlayer.Spark.SitemapXml&version=11.0.0
                    
Install as a Cake Addin
#tool nuget:?package=MintPlayer.Spark.SitemapXml&version=11.0.0
                    
Install as a Cake Tool

MintPlayer.Spark.SitemapXml

sitemap.xml for a MintPlayer.Spark application, built on MintPlayer.AspNetCore.SitemapXml's sitemap types and stylesheet.

builder.Services.AddSpark(builder.Configuration, spark =>
{
    // ...
    spark.AddSitemap();
});

MapSpark() maps it with the other modules' endpoints:

  • /sitemap.xml: a sitemap index, one sitemap per 1000 readable rows of each indexable type's list;
  • /sitemap/{type}/{page}.xml: the detail page of each object on that page of the list, by the canonical URL the page writes itself (/po/{type}/{id}/{slug});
  • /sitemap.xsl: the package's stylesheet, so a browser shows the sitemap as a table (StylesheetUrl = null turns it off).

A type is listed when its model says "seo": { "indexable": true }. With "indexableWhen": "IsPublic", an object is listed only when that boolean attribute is true in its query row. The lists run as an anonymous visitor, whoever asks, so row security and rights decide what appears exactly as they do for a crawler.

Name it in the app's robots.txt:

Sitemap: https://example.com/sitemap.xml
Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.0 46 11/18/2026