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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s