How can run a ashx file by it's real url?

Topics: General, Writing modules, 中文(Chinese)
May 8, 2013 at 3:11 PM
I have add __ routes.IgnoreRoute("{resource}.ashx/{*pathInfo}");__
But it's still can't run ,Can anbody help me?
May 28, 2013 at 2:14 AM
Why do you want to use a ashx? It's out of place in Orchard, where a controller action should be preferred.