Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nightowl888/mvcsitemapprovider_345-2
A demo project showing how to use a pre-alpha release of the new XML sitemap functionality (for search engines).
https://github.com/nightowl888/mvcsitemapprovider_345-2
Last synced: 5 days ago
JSON representation
A demo project showing how to use a pre-alpha release of the new XML sitemap functionality (for search engines).
- Host: GitHub
- URL: https://github.com/nightowl888/mvcsitemapprovider_345-2
- Owner: NightOwl888
- Created: 2015-02-04T19:31:27.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-04T19:56:52.000Z (almost 10 years ago)
- Last Synced: 2024-05-01T21:20:39.447Z (7 months ago)
- Language: C#
- Size: 578 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MvcSiteMapProvider_345-2
A demo project showing how to use a pre-alpha release of the new XML sitemap functionality (for search engines).> **Important:** To use the new XML sitemap functionality, you must disable the old functionality. We are planning to leave the old functionality in place for backward compatibility with existing DI configurations.
If using internal DI, you should set the web.config setting:
```xml
```
For external DI, you need to ensure the following line is removed (or commented) from your application startup:
```csharp
// Register the XML sitemap routes for search engines
XmlSiteMapController.RegisterRoutes(RouteTable.Routes);
```