Is it possible to route a Webmethod?
Posted
by Philip
on Stack Overflow
See other posts from Stack Overflow
or by Philip
Published on 2010-02-24T09:33:57Z
Indexed on
2010/03/30
19:23 UTC
Read the original article
Hit count: 382
I have a .aspx page with some Webmethods that I use for jQuery ajax calls.
[WebMethod]
public static string HelloWorld(string s) {
return "Hello"+ s;
}
And call this with Url: /ajax/Test.aspx/HelloWorld
I wonder if it is possible to route this method to another url like /ajax/helloworld/
?
© Stack Overflow or respective owner