0

In my views (velocity template mode) I call $Url.Link helper, in Visual Studio with cassini it work but when I deploy my webapp on mono/nginx/ubuntu url are well not formed, I get only the controler's action path.

it's seems it come from Url.For method and its compatibility with monoserv

Christophe Debove
  • 6,088
  • 20
  • 73
  • 124

1 Answers1

1

I remember having to replace the DefaultUrlBuilder to make an app run on mono. I had to override the ConvertRouteParams method to create a Hashtable without the StringComparer.InvariantCultureIgnoreCase. HTH

Checkout line 397: DefaultUrlBuilder

shosca
  • 51
  • 1
  • 2
  • Great I will try this in the week to confirm that I had to use another method for the url builder but if I can use the default monorail UrlBuilder I prefer – Christophe Debove Feb 19 '12 at 20:42