views:

13

answers:

0

Is it possible in my RegisterRoutes method in global.asax, to map some routes to an asmx?

Ideally I would like to do something like:

routes.MapPageRoute("ServiceSearchCats", "services/search/cats", "~/Services/Search.asmx/Cats");

(and therefore my endpoint for the service becomes "http://mydomain.com/services/search/cats", instead of the ugly "http://mydomain.com/Services/Search.asmx/Cats" url)