I am somewhat new to ASP. I want to make an ajax call, but I cannot figure our the URL to send to. What on earth is the actual URL to the application? Of course it comes up as http:// localhost : someport/ (spaces added because the link violates SO questions) in the browser. When I try typing in ["index","default"].["asp","aspx","htm","html","asm","asmx"] afterwards I get an error.
The relevant JavaScript portion looks like this:
$.ajax({
"url": "Default.aspx/ProcessReq",
And the relevant C# code in my controller looks like:
[WebMethod]
public object ProcessReq(string s) {
I have added the following to the config file:
<configuration>
<system.web>
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>
</system.web>
</configuration>
I'm sure I am doing something completely wrong, and I'll stress once again that ASP is fairly new to me. Any ideas?