SiteMaps.NET
1.0.5
Uplifted to .NET standard.
See the version list below for details.
Install-Package SiteMaps.NET -Version 1.0.5
dotnet add package SiteMaps.NET --version 1.0.5
<PackageReference Include="SiteMaps.NET" Version="1.0.5" />
paket add SiteMaps.NET --version 1.0.5
#r "nuget: SiteMaps.NET, 1.0.5"
// Install SiteMaps.NET as a Cake Addin
#addin nuget:?package=SiteMaps.NET&version=1.0.5
// Install SiteMaps.NET as a Cake Tool
#tool nuget:?package=SiteMaps.NET&version=1.0.5
A simple middleware that creates a Sitemap.xml and or Robots.txt for your Search Engine Optimized Asp.NET webapp. Simple add app.UseSitemap() or app.UseRobots(), or both. Sitemap asks for a parameter 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. You can override SiteMapsMiddleware and override the protected methods GetSiteMapNodes and GetDetailRecordNodes to provide your own sitemap nodes and provide detail 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.
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
-
- Microsoft.AspNetCore.Http.Abstractions (>= 2.0.0 && < 3.0.0)
- Microsoft.AspNetCore.Mvc.Abstractions (>= 2.0.0 && < 3.0.0)
- Microsoft.AspNetCore.Mvc.ViewFeatures (>= 2.0.0 && < 3.0.0)
- Microsoft.NETCore.App (>= 2.0.0 && < 3.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.