This project is read-only.

Map page route in orchard?

Topics: Troubleshooting, Writing modules
Mar 20, 2012 at 10:03 AM

Hi!, i have comon aspx web from with a that i want to include in my custom module, but i don´t get how i can create a route to it, In regular MVC u should be able to declare a MapPageRoute in the global.asax for routing directly to an aspx page. for an example:

             "ReportRoute",                         // Route name
             "Reports/{reportname}",                // URL
             "~/CommonReports/{reportname}.aspx"   // File

How do i manage this in orhcard,?

thx in regard..