Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个继承自 SiteMapNode 的类并覆盖了它的 Title 属性。但是,我如何以及在何处配置它,以便我的站点地图(和自定义站点地图提供者)采用此自定义 SiteMapNode 实现而不是默认实现?
显然,这应该通过创建一个继承自 StaticSiteMapProvider 而不是 XmlSiteMapProvider 的自定义站点地图提供程序来完成。