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.
如何将 Castle Monorail 配置为没有任何扩展?我查看了文档并将其 defaultUrlExtension 配置为空白,并将其配置为不使用扩展名,但我仍然在网址上获得 .castle 扩展名。我错过了什么?提前致谢。
public void MonoRail_Configure(IMonoRailConfiguration configuration) { configuration.UrlConfig.UseExtensions = false; }