简体   繁体   中英

asp.net mvc2 sitemap

在asp.net mvc2中创建符合Google要求的站点地图的最佳方法是什么?

Adding to Tomas Lycken 's answer, the MVC Sitemap Provider is very easy to use and didn't gave me any headaches.

I've used it with annotations directly on the controller methods and it works like a charm.

Googling for "asp.net mvc sitemap", I found the ASP.NET MVC Sitemap Provider which looks promising. I've never tried it, though...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM