Skip to content

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 sitema…

License

LiveOrDevTrying/Sitemap.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SiteMaps.NET is a middleware designed to support Search Engine Optimization (SEO) for Asp.NET Core 2.0 + and will dynamically create a Sitemap.xml and / or Robots.txt for your web application. The Sitemap.xml will be created dynamically by default by parsing the controllers in the parent project and creating routes in the Xml for each method. However, this can be overriden so you can instead specify the mapped endpoints directly. You can also use the included attributes to annotate your project to specify which methods you would like to be included. You can also include specific endpoints for individual page SEO indexing - for example, a product list where each product has its own page and unique uri. If enabled, this package will also create a Robots.txt and allow you to create custom robot rules to disallow routes / user agents.

Image of Tcp.NET Logo

Additional Information

SiteMaps.NET was created by LiveOrDevTrying and is maintained by Pixel Horror Studios. SiteMaps.NET is currently implemented in (but not limited to) the following projects: Allie.Chat, OpenDJRadio]), There Is No Turning Back! and The Monitaur.
Pixel Horror Studios Logo

About

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 sitema…

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages