ASP.NET Routing Breaking WebMethods — Web Dev TIL


Using routing in ASP.NET will make your WebMethod call result in a Server Error when trying to call a WebMethod with URL that matches the one specified in MapPageRoute() in your RouteConfig.cs (or .vb) file. My solution was to circumvent the routing mechanism by simply using the original URL that directly maps to the physical file on the disk. URLs requested by […]

via ASP.NET Routing Breaking WebMethods — Web Dev TIL

Advertisements