开发者

configuring castle monorail to not show any extensions

开发者 https://www.devze.com 2023-03-07 18:51 出处:网络
how can I configure Castle Monorail to not have any extensions? I lo开发者_如何学Pythonoked at the documentation and have confugred it\'s defaultUrlExtension to blank and have also configured it to no

how can I configure Castle Monorail to not have any extensions? I lo开发者_如何学Pythonoked at the documentation and have confugred it's defaultUrlExtension to blank and have also configured it to not use extensions but I'm still getting .castle extension on the urls. What am I missing ? thanks in advance.


public void MonoRail_Configure(IMonoRailConfiguration configuration)
{
  configuration.UrlConfig.UseExtensions = false;
}
0

精彩评论

暂无评论...
验证码 换一张
取 消