Updated to work with ASP.NET Core 3.0.
- Consolidated setup into a single call to either
AddSeoorAddSeoWithDefaultRobots, there is noMapSeoRoutesextension method for theIMvcBuilderanymore. - Switched to the Options pattern for configuring Robots.txt and Sitemap.xml via the aforementioned
IServiceCollectionextension methods. See the README for more details.
- Removed
HeaderMetadataViewComponentand replaced withOpenGraphTagHelper. However there is no replacement for<meta name="robots" content="none"/>, which was added byHeaderMetadataViewComponentin non-production environments. If you still require this you will need to add it manually to each page that you want to stop robots from indexing or following links on. Alternatively set it in therobots.txtfile using this library. - Updated target framework to netstandard2.0
- Added several tag helpers to make it easy to add Open Graph metadata to cshtml pages.
- Added the ability to set the
Noindexdirective for each user agent inrobots.txtfile.
- First open source release.