Month: December 2012

Weird ASP.net PathInfo behaviour

This post is about an ASP.net quirk and the (lack of) solution of it.

It’s a known fact that ASP.net WebMethods as provided by the ASP.net AJAX framework use what’s known as the path info of a url in order to map a request to a Web method. In other words, suppose you need to call a WebMethod called AWebMethod() in page APage.aspx. Suppose your application resides in http://anapplication.com (I really spent some time thinking about proper names about these. Really).