I am doing some tests on mono+linux and everything works fine for my
application (using MONO_IOMAP) except for the new routing module.
In the routing rules i define the area as empty but the monorail
handler seems to be ignoring it.
In my routes i have this:
rules.Add(new PatternRoute("profilelist",
"/profile/list/").DefaultForArea().IsEmpty.DefaultForController().Is("profile").DefaultForAction().Is("list"));
When I try the url for that route i get a ControllerNotFoundException.
Controller not found. Area: 'profile' Controller Name: 'profile'
Description: HTTP 500. Error processing request.
Stack Trace:
Castle.MonoRail.Framework.ControllerNotFoundException: Controller not
found. Area: 'profile' Controller Name: 'profile'
at Castle.MonoRail.Framework.MonoRailHttpHandlerFactory+NotFoundHandler.ProcessRequest
(System.Web.HttpContext context) [0x00000]
at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x00000]
at System.Web.HttpApplication.Tick () [0x00000]
The same code works fine on windows + cassini.
Any ideas?
Thanks.